论坛首页 Java企业应用论坛

weblogic8.1部署war包出错.

浏览 3220 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2008-08-08  
过去做了一半的项目现在又捡起来了,可是把项目打成war包以后,报错了,找了半天也没进展,现把报错信息贴出来,请大家给予提示,谢啦!
.
CLASSPATH=d:\bea\JROCKI~1\lib\tools.jar;d:\bea\WEBLOG~1\server\lib\weblogic_sp.j
ar;d:\bea\WEBLOG~1\server\lib\weblogic.jar;d:\bea\WEBLOG~1\common\eval\pointbase
\lib\pbserver44.jar;d:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;d:\
bea\JROCKI~1\jre\lib\rt.jar;d:\bea\WEBLOG~1\server\lib\webservices.jar;.;D:\Prog
ram Files\Java\jdk1.5.0_06\lib\dr.jar;D:\Program Files\Java\jdk1.5.0_06\lib\tool
s.jar
.
PATH=d:\bea\WEBLOG~1\server\bin;d:\bea\JROCKI~1\jre\bin;d:\bea\JROCKI~1\bin;E:\o
racle\product\10.2.0\client_1\bin;E:\oracle\product\10.2.0\client_1;D:\Program F
iles\Java\jdk1.5.0_06\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbe
m;D:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\StormII\
Codec;C:\Program Files\StormII;d:\bea\WEBLOG~1\server\bin\oci920_8
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http:\\[hostname]:[port]\console    *
***************************************************
<2008-8-8 下午02时49分23秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting W
ebLogic Server with BEA WebLogic JRockit(TM) 1.4.2_08 JVM R24.5.0-61 Version ari
-49095-20050826-1856-win-ia32 from BEA Systems, Inc.>
<2008-8-8 下午02时49分24秒 CST> <Info> <Configuration Management> <BEA-150016> <
This server is being started as the administration server.>
<2008-8-8 下午02时49分24秒 CST> <Info> <Management> <BEA-141107> <Version: WebLo
gic Server 8.1 SP5  Sat Oct 29 02:54:23 PDT 2005 663645
WebLogic XMLX Module 8.1 SP5  Sat Oct 29 02:54:23 PDT 2005 663645 >
<2008-8-8 下午02时49分24秒 CST> <Notice> <Management> <BEA-140005> <Loading doma
in configuration from configuration repository at d:\bea\user_projects\domains\m
ydomain\.\config.xml.>
<2008-8-8 下午02时49分25秒 CST> <Notice> <Log Management> <BEA-170019> <The serv
er log file D:\bea\user_projects\domains\mydomain\myserver\myserver.log is opene
d. All server side log events will be written to this file.>
<2008-8-8 下午02时49分27秒 CST> <Notice> <Security> <BEA-090082> <Security initi
alizing using security realm myrealm.>
<2008-8-8 下午02时49分27秒 CST> <Notice> <WebLogicServer> <BEA-000327> <Starting
WebLogic Admin Server "myserver" for domain "mydomain">
<2008-8-8 下午02时49分32秒 CST> <Notice> <JTA> <BEA-110025> <Creating new transa
ction log file [.\myserver\./myserver.0000.tlog].>
<2008-8-8 下午02时49分32秒 CST> <Notice> <JTA> <BEA-110025> <Creating new transa
ction log file [.\myserver\./myserver.heur.0000.tlog].>
<2008-8-8 下午02时49分34秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started
WebLogic Admin Server "myserver" for domain "mydomain" running in Development Mo
de>
<2008-8-8 下午02时49分34秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server s
tarted in RUNNING mode>
<2008-8-8 下午02时49分34秒 CST> <Notice> <WebLogicServer> <BEA-000355> <Thread "
ListenThread.Default" listening on port 7001, ip address *.*>
<2008-8-8 下午02时55分35秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were
detected while initiating Deploy task for application zyx.>
<2008-8-8 下午02时55分35秒 CST> <Error> <Deployer> <BEA-149201> <Failed to compl
ete the deployment task with ID 0 for the application zyx.
java.lang.Error: Unresolved compilation problem:
        Syntax error, annotations are only available if source level is 5.0

        at com.cpic.zyx.listener.InitZyxListener.<init>()V(InitZyxListener.java:
22)
        at java.lang.Object.emptyConstructor()V(Unknown Source)
        at java.lang.Class.newInstanceCached(I)Ljava/lang/Object;(Unknown Source
)
        at java.lang.Class.newInstance(I)Ljava/lang/Object;(Unknown Source)
        at weblogic.servlet.internal.WebAppServletContext.registerEventListener(
Ljava/lang/String;)V(WebAppServletContext.java:2983)
        at weblogic.servlet.internal.WebAppServletContext.activateFromDescriptor
s(Lweblogic/management/descriptors/WebDescriptorMBean;)V(WebAppServletContext.ja
va:2523)
        at weblogic.servlet.internal.WebAppServletContext.activate()V(WebAppServ
letContext.java:6163)
        at weblogic.servlet.internal.WebAppServletContext.setActive(Z)V(WebAppSe
rvletContext.java:6141)
        at weblogic.servlet.internal.WebAppModule.activate(Ljava/lang/ClassLoade
r;)V(WebAppModule.java:836)
        at weblogic.j2ee.J2EEApplicationContainer.activateModule(Lweblogic/utils
/classloaders/GenericClassLoader;Lweblogic/j2ee/J2EEApplicationContainer$Compone
nt;)V(J2EEApplicationContainer.java:3322)
        at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic/j2ee/J2EEA
pplicationContainer$Component;)V(J2EEApplicationContainer.java:2201)
        at weblogic.j2ee.J2EEApplicationContainer.activate([Lweblogic/management
/configuration/ComponentMBean;)V(J2EEApplicationContainer.java:2174)
        at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
activateContainer()V(SlaveDeployer.java:2520)
        at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(
)V(SlaveDeployer.java:2438)
        at weblogic.management.deploy.slave.SlaveDeployer$Task.commit()V(SlaveDe
ployer.java:2155)
        at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit()
V(SlaveDeployer.java:2254)
        at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare()V(SlaveD
eployer.java:2149)
        at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()
V(SlaveDeployer.java:2401)
        at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lwe
blogic/management/deploy/OamVersion;Lweblogic/management/runtime/DeploymentTaskR
untimeMBean;Z)V(SlaveDeployer.java:883)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic
/management/deploy/OamDelta;Lweblogic/management/deploy/OamVersion;ZLjava/lang/S
tringBuffer;)Z(SlaveDeployer.java:591)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava/ut
il/ArrayList;Z)V(SlaveDeployer.java:500)
        at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic/kernel
/ExecuteThread;)V(SlaveCallbackHandler.java:25)
        at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest
;)V(ExecuteThread.java:224)
        at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
        at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Sourc
e)
--------------- nested within: ------------------
weblogic.management.ManagementException:  - with nested exception:
[java.lang.Error: Unresolved compilation problem:
        Syntax error, annotations are only available if source level is 5.0
]
        at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()
V(SlaveDeployer.java:2413)
        at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lwe
blogic/management/deploy/OamVersion;Lweblogic/management/runtime/DeploymentTaskR
untimeMBean;Z)V(SlaveDeployer.java:883)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic
/management/deploy/OamDelta;Lweblogic/management/deploy/OamVersion;ZLjava/lang/S
tringBuffer;)Z(SlaveDeployer.java:591)
        at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava/ut
il/ArrayList;Z)V(SlaveDeployer.java:500)
        at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic/kernel
/ExecuteThread;)V(SlaveCallbackHandler.java:25)
        at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest
;)V(ExecuteThread.java:224)
        at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
        at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Sourc
e)
>
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics