首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Axis 定做发布

2014-01-17 
Axis 定制发布看懂这句代码就差不多了D:\Java\jdk1.5.0_06\bin\java -Djava.ext.dirslib org.apache.axis

Axis 定制发布
看懂这句代码就差不多了
D:\Java\jdk1.5.0_06\bin\java -Djava.ext.dirs=lib org.apache.axis.client.AdminClient -l http://localhost:8080/axis/servlet/AxisServlet deploy.wsdd

然后注意Tomcat运行的JDK和IDE编译的JDK环境;
别犯我的错:
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.local.axis.ServerAxisTest); nested exception is:
java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.local.axis.ServerAxisTest)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Alice

java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.local.axis.ServerAxisTest); nested exception is:
java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.local.axis.ServerAxisTest)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:559)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:853)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2978)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:918)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1145)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:988)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1446)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:529)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1148)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2803)
at org.apache.axis.client.Call.invoke(Call.java:2786)
at org.apache.axis.client.Call.invoke(Call.java:2462)
at org.apache.axis.client.Call.invoke(Call.java:2385)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.local.axis.Test.test(Test.java:37)
at com.local.axis.Test.main(Test.java:16)


切记!

热点排行