记录开发错误

java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit
解决办法:http://www.blogjava.net/qin/archive/2008/10/20/235465.html

javax.naming.NameNotFoundException: Name jndi is not bound in this Context
解决办法:在项目中的web.xml文件中添加下面内容:
http://www.blogjava.net/spark/archive/2009/09/08/294339.html

Caught exception while loading file struts-default.xml
解决办法:http://zhidao.baidu.com/question/129921205

Cannot locate the chosen ObjectFactory implementation: spring
解决办法:http://topic.csdn.net/u/20080528/14/0dd654b6-9455-4ae4-b232-7968c545c622.html

java.net.SocketException: Software caused connection abort: socket write error
解决办法:http://ponlya.javaeye.com/blog/643558

java.lang.ClassNotFoundException: org.apache.taglibs.standard.tlv.JstlCoreTLV
解决办法:http://heisetoufa.javaeye.com/blog/227270

java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
解决办法:http://zhidao.baidu.com/question/93417067

org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [SSELECT * FROM t_user WHERE user_name=? AND login_pwd=?]; nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SSELECT * FROM t_user WHERE user_name='admin' AND login_pwd='123456'' at line 1
一般是sql语句写错了

org.springframework.jdbc.IncorrectResultSetColumnCountException: Incorrect column count: expected 1, actual 10
解决办法:http://www.blogjava.net/pigbaby520/articles/217394.html?opt=admin 
          http://news.qiku.info/blog/2869.html

 

http://jordan-micle.javaeye.com/blog/391935

http://blog.csdn.net/roc333/archive/2010/01/14/5190923.aspx

 

2011-12-6

启动eclipse报Failed to create the java Virtual Machine错误解决方法:

http://www.85java.com/thread-17774-1-1.html

你可能感兴趣的:(sql,mysql,.net,SQL Server,jdbc)