0

我使用tomcat 7和jdk7和axis2在eclipse上开发了一个web服务,我必须在jboss51GA和jdk5上部署它,当我尝试访问web服务时出现流动错误:这个WebaxisService有部署错误

Error: java.lang.UnsupportedClassVersionError: pachet/clasa_ws : Unsupported
major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at 
java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at 
java.lang.ClassLoader.defineClass(ClassLoader.java:615) at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at
java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at
java.net.URLClassLoader.access$000(URLClassLoader.java:58) at
java.net.URLClassLoader$1.run(URLClassLoader.java:197) at 
java.security.AccessController.doPrivileged(Native Method) at 
java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:82) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at 
org.apache.axis2.deployment.DeploymentClassLoader.loadClass(DeploymentClassLoader.java:277) at
java.lang.ClassLoader.loadClass(ClassLoader.java:247) at
org.apache.axis2.util.Loader.load

我将 web 服务部署为 war 文件,并且不在轴目录中。谁能帮我解决我一周面临的这个问题..

4

1 回答 1

0
Some Condition to be followed in eclipse

1.Eclipse Dynamice Module version should be 2.5 or less 
2.In Configuration select axis2 (if not there if install axis2)


For JBoss need to have a Maven Project and Jboss version less than 7
于 2013-03-14T11:30:58.747 回答