SOAPUI之前是可以用的,一段时间不用后,突然用不了了,启动的时候报了如下的错:
Configuring log4j from [F:\tools\SOAPUI\SoapUI-5.0.0\bin\soapui-log4j.xml]
22:07:54,618 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\Administrator\soapui-settings.xml]
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.eviware.soapui.DefaultSoapUICore.initSettings(DefaultSoapUICore.java:396)
at com.eviware.soapui.SwingSoapUICore.initSettings(SwingSoapUICore.java:122)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:148)
at com.eviware.soapui.StandaloneSoapUICore.<init>(StandaloneSoapUICore.java:40)
at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:697)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: N
o suitable Log constructor [Ljava.lang.Class;@4331d29e for org.apache.commons.logging.impl.Log4JLogger (Caused by java.l
ang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No
suitable Log constructor [Ljava.lang.Class;@4331d29e for org.apache.commons.logging.impl.Log4JLogger (Caused by java.la
ng.NoClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.<init>(ThreadSafeClientConnManager.java:116)
at org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager.<init>(ThreadSafeClientConnManager.java:91)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager.<init>(SoapUIMultiThreaded
HttpConnectionManager.java:74)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.<init>(HttpClientSupport.java:216)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.<clinit>(HttpClientSupport.java:61)
... 19 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@4331d29e
for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 27 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getConstructor0(Class.java:2842)
at java.lang.Class.getConstructor(Class.java:1718)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
... 28 more
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Category
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 33 more
看错误信息,是无法加载到类java.lang.ClassNotFoundException: org.apache.log4j.Category
,查了一下soapui下的lib文件夹,common-logging这个jar包是存在的,后面也不知道什么原因,
上网查了一下,有说到是jar包冲突,就到jdk(我的jdk是jdk1.7.0_60)下查看,
在目录C:\Program Files\Java\jdk1.7.0_60\jre\lib\ext下发现了common-logging这个jar包,将其删除后,
重新启动SOAPUI,成功。。。
相关推荐
soapUI-Pro-x32-4.5.2.part1.rar soapUI-Pro-x32-4.5.2.part2.rar soapUI-Pro-x32-4.5.2.part3.rar soapUI-Pro-x32-4.5.2.part4.rar
SoapUi pro5.1.2破解版,苹果mac专用,windows机器请不要下载,此版本非dmg安装版,为解压版。如遇闪退。 找到启动sh文件,取消注释 JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true
maven-soapui-extension-plugin-4.0.1.0.jar
maven-soapui-extension-plugin-4.5.1.0.jar
soapUI-Pro-x32-4.5.2.part1.rar soapUI-Pro-x32-4.5.2.part2.rar soapUI-Pro-x32-4.5.2.part3.rar soapUI-Pro-x32-4.5.2.part4.rar
soapUI-Pro-x32-4.5.2.part1.rar soapUI-Pro-x32-4.5.2.part2.rar soapUI-Pro-x32-4.5.2.part3.rar soapUI-Pro-x32-4.5.2.part4.rar
soapUI-Pro-x32-4.5.2.part1.rar soapUI-Pro-x32-4.5.2.part2.rar soapUI-Pro-x32-4.5.2.part3.rar soapUI-Pro-x32-4.5.2.part4.rar
maven-soapui-extension-plugin-4.5.0.0.jar
maven-soapui-extension-plugin-4.0.0.1.jar
maven-soapui-extension-plugin-4.0.0.0.jar
maven-soapui-extension-plugin-4.5.1.2.jar
maven-soapui-extension-plugin-4.5.1.1.jar
maven-soapui-extension-plugin-4.0.0.2.jar
SoapUI是一款广泛使用的开源API测试工具,主要用于Web服务测试,包括SOAP(Simple Object Access Protocol)和REST(Representational State Transfer)接口。此压缩包“SoapUI-5.4.0-EB.dmg.zip”包含了适用于macOS...
soapUI-x32-4.5.1.part1.rar
maven-soapui-extension-plugin-4.5.0.0-sources.jar
maven-soapui-extension-plugin-4.0.1.0-sources.jar
maven-soapui-extension-plugin-4.0.0.2-sources.jar
maven-soapui-extension-plugin-4.0.0.1-sources.jar
maven-soapui-extension-plugin-4.0.0.0-sources.jar