weblogic加载应用:ClassNotFoundException: org.springframework.web.context.WebApplicationContext 10
<Jun17,20135:58:20PMCST><Error><Deployer><BEA-149202><Encounteredanexceptionwhileatte...
<Jun 17, 2013 5:58:20 PM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'irms'.>
<Jun 17, 2013 5:58:20 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'irms'.>
<Jun 17, 2013 5:58:20 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
> 展开
<Jun 17, 2013 5:58:20 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'irms'.>
<Jun 17, 2013 5:58:20 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1373)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: org.springframework.web.context.WebApplicationContext
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
> 展开
2个回答
展开全部
war包打的有问题,有依赖jar没有打进去
追问
没有打war包,直接放的webContent文件夹
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Truncated. see log file for complete stacktrace
找log文件,看到底是缺哪个类
找log文件,看到底是缺哪个类
追问
难道需要在start.sh中单独再加一次这个classpath ?
追答
不需要,weblogic启动的sh脚本,除了修改某些参数外,不要外加 类库的classpath等参数。
application所需要的jar一律放在application自已的应用下面。
你还是找一下错误原因,看看是哪个类没有,再找这个类在哪个jar中,再去找jar包存不存在,版本对不对。如果是自已编译的类,就检查一下类是否正确编译等等。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询