解决方案_Java
iteye_13498
这个作者很懒,什么都没留下…
展开
-
Exception in thread "main" java.lang.LinkageError错误的解决
错误代码: Exception in thread "main" java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/D:/workspace/A8_Common/webapp/WEB-INF/lib/jaxb-impl....原创 2012-02-22 14:53:16 · 5160 阅读 · 1 评论 -
Eclipse中Cannot nest src folder解决方法
问题描述:在MyEclipse导包时出现Cannot nest src folder 问题原因:Cannot nest 'Project/src/main/java' inside library 'Project/src如果你的classpath中导入了web app libraries中可能就会找到project/src,本来这里是放包的,这样他还会造成另一个结果,就是WEB-IN...原创 2012-05-23 15:03:04 · 295 阅读 · 0 评论 -
java.lang.UnsupportedClassVersionError: Bad version number in .class file
问题描述:运行含有main()方法的类后报如下错误:java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown ...原创 2012-05-23 14:31:46 · 93 阅读 · 0 评论 -
The type javax.xml.rpc.ServiceException cannot be resolved.It is indirectly
问题描述:The type javax.xml.rpc.ServiceException cannot be resolved.It is indirectly……原因:缺少jaxrpc.jar包解决方案:导入jaxrpc.jar包原创 2012-05-23 10:54:55 · 3457 阅读 · 0 评论 -
Build path contains duplicate entry
问题:Build path contains duplicate entry:''D:soft/Myeclipse 6.5/jre/lib/rt.jar' for project 'dataService_gzq'。 原因:rt.jar包重复 解决问题 :右击项目-》Build Path ->Configure Build Path ……-》Libraries->选中J...原创 2012-05-04 10:12:44 · 329 阅读 · 0 评论 -
Bean property 'url' is not writable or has an invalid setter method
问题描述:在做spring注入的时候出现Bean property 'url' is not writable or has an invalid setter method。解决方案:给url设置set方法。2012-03-06 18:14:05 · 475 阅读 · 0 评论 -
The reference to entity "characterEncoding" must end with the ';' delimiter.
问题描述:在做spring注入的时候, 报The reference to entity "characterEncoding" must end with the ';' delimiter错误。解决方案:把http://116.55.248.117:8090/HelloWorldService/services/...2012-03-06 18:11:46 · 91 阅读 · 0 评论 -
Failed to read input
问题描述:在网上查找了多种资料,也试了很多方法,在dwr包中的engine.js进行修改 解决方案:过滤 failed to read input,改为dwr.engine.defaultErrorHandler = function(message, ex) {dwr.engine._debug("Error: " + ex.name + ", " + ...2012-03-06 11:45:23 · 1044 阅读 · 0 评论 -
严重: Unresolved compilation problem:
问题描述:2012-2-29 2:05:28 com.sun.xml.ws.server.sei.EndpointMethodHandler invoke严重: Unresolved compilation problem: The method getDoorStatus(String, String, String) in the type StorageYKTServiceIm...原创 2012-02-29 02:09:52 · 561 阅读 · 0 评论 -
java.lang.LinkageError: You are loading old SAAJ from jar,解决方案_Java
严重: WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: You are loading old SAAJ from jar:file:/D:/soft/Java/apache-tomcat-6.0.32/webapps/pecard/WEB-INF/lib/saaj-1.0.jar!/javax/xm...原创 2012-02-27 10:40:31 · 847 阅读 · 0 评论 -
javax.xml.ws.WebServiceException: Unable to create JAXBContext
错误描述:com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized严重: WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBCont...原创 2012-02-27 10:38:06 · 813 阅读 · 0 评论 -
MyEclipse发布时启动时报严重: java.lang.UnsupportedClassVersionError
Myeclipse启动时报的错误信息:信息: Deploying web application directory pecardweb2013-1-10 9:36:51 org.apache.catalina.loader.WebappClassLoader validateJarFile信息: validateJarFile(D:\soft\tomcat\apache-tomcat-6.0...原创 2013-01-10 09:58:10 · 267 阅读 · 0 评论