当前位置: 技术问答>java相关
急问高手!!有关J2EE
来源: 互联网 发布时间:2015-07-27
本文导语: 初装J2EE,在用命令行启动J2EE SERVER时,总是发生如下错误: Logging for J2EE Server Version: 1.3.1-b17 started at: Tue Jul 30 20:13:38 CST 2002.. Using the Java HotSpot(TM) Client VM and the version number 1.3.0 from Sun Microsystems In...
初装J2EE,在用命令行启动J2EE SERVER时,总是发生如下错误:
Logging for J2EE Server Version: 1.3.1-b17 started at: Tue Jul 30 20:13:38 CST 2002..
Using the Java HotSpot(TM) Client VM and the version number 1.3.0 from Sun Microsystems Inc..
VM is using the classpath: f:j2sdkee1.3.1libsystemcloudscape.jar;f:j2sdkee1.3.1libsystemtools.jar;f:j2sdkee1.3.1libcloudscapeRmiJdbc.jar;f:j2sdkee1.3.1libcloudscapecloudclient.jar;f:j2sdkee1.3.1libclasses;f:j2sdkee1.3.1classes;f:j2sdkee1.3.1libj2ee.jar;f:j2sdkee1.3.1libtoolclasses;f:j2sdkee1.3.1libj2eetools.jar;f:j2sdkee1.3.1liblocale;;F:jdk1.3libtools.jar;f:j2sdkee1.3.1libjhall.jar .
J2EE Home Directory has been set to: f:j2sdkee1.3.1.
java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.rebind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.java:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
菜鸟求教!
3X!
Logging for J2EE Server Version: 1.3.1-b17 started at: Tue Jul 30 20:13:38 CST 2002..
Using the Java HotSpot(TM) Client VM and the version number 1.3.0 from Sun Microsystems Inc..
VM is using the classpath: f:j2sdkee1.3.1libsystemcloudscape.jar;f:j2sdkee1.3.1libsystemtools.jar;f:j2sdkee1.3.1libcloudscapeRmiJdbc.jar;f:j2sdkee1.3.1libcloudscapecloudclient.jar;f:j2sdkee1.3.1libclasses;f:j2sdkee1.3.1classes;f:j2sdkee1.3.1libj2ee.jar;f:j2sdkee1.3.1libtoolclasses;f:j2sdkee1.3.1libj2eetools.jar;f:j2sdkee1.3.1liblocale;;F:jdk1.3libtools.jar;f:j2sdkee1.3.1libjhall.jar .
J2EE Home Directory has been set to: f:j2sdkee1.3.1.
java.lang.NoSuchMethodError
at com.sun.corba.ee.internal.corba.AnyImpl.createTypeCodeForClass(AnyImpl.java:1256)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.createTypeCode(ShutdownUtilDelegate.java:223)
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:178)
at javax.rmi.CORBA.Util.writeAny(Util.java:80)
at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.rebind(Unknown Source)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:188)
at com.sun.enterprise.naming.SerialContext.rebind(SerialContext.java:202)
at javax.naming.InitialContext.rebind(InitialContext.java:370)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:192)
at com.sun.enterprise.naming.NamingManagerImpl.publishObject(NamingManagerImpl.java:149)
at com.sun.enterprise.server.J2EEServer.bindObject(J2EEServer.java:718)
at com.sun.enterprise.server.J2EEServer.createServerObject(J2EEServer.java:473)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:244)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
菜鸟求教!
3X!
|
我感觉是注册一个CORBA服务时出的错误,应该是JDK版本不匹配。
我现在也在用J2EE 1.3,使用时没有任何问题,我使用的是J2SDK 1.4.0,设置好了JAVA_HMOE和J2EE_HOME后即可正常使用。
你试一下J2SDK 1.4.0吧 !
我现在也在用J2EE 1.3,使用时没有任何问题,我使用的是J2SDK 1.4.0,设置好了JAVA_HMOE和J2EE_HOME后即可正常使用。
你试一下J2SDK 1.4.0吧 !
|
CLASSPATH覆盖的问题
把系统里用不着的CLASSPATH去掉
只留下启动J2EE需要的
再不行我就不知道了
--- ZJQ
把系统里用不着的CLASSPATH去掉
只留下启动J2EE需要的
再不行我就不知道了
--- ZJQ
|
J2SE的版本可能有问题哦,J2EE -> J2SE1.2
|
对,我遇到过版本不匹配的问题,