我通过JBUILDER9打包成EXE,在引包的时候选择引所有的包,并且是Include all。打包后的EXE文件可以启动运行,看到窗体界面。
我的这个是通过Webservice链接远程服务端的一个程序,一点击连接就提示如下错误,不知如何是好,希望大家帮助。
java.lang.ExceptionInInitializerError
        at org.apache.axis.client.Service.getAxisClient(Service.java:143)
        at org.apache.axis.client.Service.<init>(Service.java:152)
        at com.sundy.ws.InterServiceLocator.<init>(InterServiceLocator.java:10)
        at com.sundy.ws.InterServiceTestCase.test15interGetCommand(InterServiceT
estCase.java:342)
        at com.sundy.Webservice.DoClient.test15interGetCommand(DoClient.java:202
)
        at com.sundy.Client.SetCommand.sendCommand(SetCommand.java:37)
        at com.sundy.Client.ProvinceServerFrameThread.run(ProvinceServerFrameThr
ead.java:41)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullP
ointerException
        at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558)        at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355)        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409)
        at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:7
6)
        at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:81)
        ... 7 more
Caused by: java.lang.NullPointerException
        at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543)        ... 11 more