Weblogic Start error: Java.lang.NoClassDefFoundError
####<2015-6-17 pm cst> <Error> <HTTP>
Java.lang.noclassdeffounderror:org/apache/commons/logging/logfactory
At Org.springframework.web.context.request.requestcontextlistener.<init> (RequestContextListener.java:55)
At Sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
At Sun.reflect.NativeConstructorAccessorImpl.newInstance (nativeconstructoraccessorimpl.java:39)
At Sun.reflect.DelegatingConstructorAccessorImpl.newInstance (delegatingconstructoraccessorimpl.java:27)
At Java.lang.reflect.Constructor.newInstance (constructor.java:513)
At Java.lang.Class.newInstance0 (class.java:357)
At Java.lang.Class.newInstance (class.java:310)
Does anyone know what's going on here?
the jar packages loaded at WebLogic startup are as follows:
Java.class.path = D:\zonyapps\applibs\commons-logging.jar;d:\zonyapps\applibs\log4j-1.2.8.jar;d:\zonyapps\ Applibs\activation.jar;d:\zonyapps\applibs\antlr-2.7.6.jar;d:\zonyapps\applibs\aspectjrt.jar;d:\zonyapps\ Applibs\aspectjweaver.jar;d:\zonyapps\applibs\axis.jar;d:\zonyapps\applibs\cglib-nodep-2.1_3.jar;d:\zonyapps\ Applibs\commons-collections-3.1.jar;d:\zonyapps\applibs\commons-discovery.jar;d:\zonyapps\applibs\ Commons-io-1.3.2.jar;d:\zonyapps\applibs\dom4j-1.6.1.jar;d:\zonyapps\applibs\ejb3-persistence.jar;d:\zonyapps\ Applibs\hibernate-annotations.jar;d:\zonyapps\applibs\hibernate-commons-annotations.jar;d:\zonyapps\applibs\ Hibernate3.jar;d:\zonyapps\applibs\javassist-3.9.0.ga.jar;d:\zonyapps\applibs\jaxrpc.jar;d:\zonyapps\applibs\ Jdom-1.0.jar;d:\zonyapps\applibs\jta-1.1.jar;d:\zonyapps\applibs\proxool-0.9.1.jar;d:\zonyapps\applibs\ Proxool-cglib.jar;d:\zonyapps\applibs\saaj.jar;d:\zonyapps\applibs\slf4j-api-1.5.8.jar;d:\zonyapps\applibs\ Slf4j-nop-1.5.8.jar;d:\zonyapps\applibs\sprinG.jar;d:\zonyapps\applibs\sqljdbc4.jar;d:\zonyapps\applibs\standard.jar;d:\zonyapps\applibs\wsdl4j.jar;d:\ Zonyapps\applibs\adobe-assembler-client.jar;d:\zonyapps\applibs\adobe-generatepdf-client.jar;d:\zonyapps\ Applibs\adobe-livecycle-client.jar;d:\zonyapps\applibs\adobe-usermanager-client.jar;d:\oracle\middle~1\patch_ Wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;d:\java\jdk16~1.0_4\lib\tools.jar;d:\oracle \middle~1\wlserv~1.1\server\lib\weblogic_sp.jar;d:\oracle\middle~1\wlserv~1.1\server\lib\weblogic.jar;d:\ Oracle\middle~1\modules\features\weblogic.server.modules_12.1.1.0.jar;d:\oracle\middle~1\wlserv~1.1\server\lib \webservices.jar;d:\oracle\middle~1\modules\orgapa~1.1/lib/ant-all.jar;d:\oracle\middle~1\modules\netsfa~1.0_1 /lib/ant-contrib.jar;;
Operating system is Windows, starting with Windows service mode
Solutions Reference:
1, check the jar package is normal, is there any damage?
The jar package is corrupted, WebLogic cannot read the contents of the jar package, unzip and compress the jar package and then resolve the problem.
2, see WebLogic start JDK and project compiled JDK is not unified?
It is said that the loaded package cannot be recognized by the JVM . For example, if you are developing IBM 's JDK, you deploy it with a sun JDK - compiled package that can happen.
3.See if the jar of the project conflicts with the jar package that WebLogic comes with.
There is a saying that WebLogic may have brought some jars, the project also has some jar packages, The versions between these jar packages may be inconsistent, such as the project's ratio WebLogic The version is high, generally on the WebLogic will only load once jar, but not the version height, so the first load the project jar
Like this http://blog.csdn.net/ygj26/article/details/7227253
Weblogic Start Error: Java.lang.NoClassDefFoundError