日期:2014-05-20  浏览次数:21167 次

部署weblogic时报错!!急!
<2011-12-23 下午06时42分46秒 GMT+08:00> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1324636965801' for task '1'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
Truncated. see log file for complete stacktrace
java.lang.IllegalStateException: Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:320)
at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:70)
at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46)
at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16)
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
Truncated. see log file for complete stacktrace

<2011-12-23 下午06时42分46秒 GMT+08:00> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating start task for application '_appsdir_gatewayInfo_dir'.> 
<2011-12-23 下午06时42分46秒 GMT+08:00> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
Truncated. see log file for complete stacktrace
java.lang.IllegalStateException: Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:320)
at com.ctc.wstx.compat.Jdk14Impl.setInitCause(Jdk14Impl.java:70)
at com.ctc.wstx.exc.WstxException.<init>(WstxException.java:46)
at com.ctc.wstx.exc.WstxIOException.<init>(WstxIOException.java:16)
at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
Truncated. see log file for complete stacktrace

打完war包后,通过welogic控制台部署,再点active后就报错,还没有启动为什么会报错啊,请教高手指点!

------解决方案--------------------
你JDK是1.4的吧,而你在项目中有用到类似这种语法,导致无法编译
Java code

@Override
    public ProcessRecord save(ProcessRecord pr) {
        return super.save(pr);
    }