启动myeclipse2017遇到 Java was started but returned exit code=13

由于最近有一个项目要用到myeclipse,我在打开时竟然失败了!明明前一阵子还用来着!仔细一看提示错误是 Java was started but returned exit code=13,在网上看了许多,大多数都说是myeclipse.ini中的-vm配置错误,要么就是与操作系统的位数不符合。这些一开始就被我排除掉了,因为之前可以用,就说明不是这一类原因导致的。后来我突然想起之前自己整理电脑磁盘的时候,把它从e盘移动到了d盘,然后myeclipse.ini中有一个安装地址的配置

这时候只需要把这个改为现在文件所在地址就ok了,然而我改完以后还是报错依然是 Java was started but returned exit code=13,我仔细一看报错信息中安装地址有乱码,原来我把它安装在一个含有中文的路径下了,于是我又把它移动到一个无中文的路径下,重新配置了myeclipse.ini。再次打开就好用了!

已标记关键词 清除标记
想在项目中使用2017炫酷的黑色主题,然后配置上tomcat6,部署完成后就报了如下错误,之前是使用2013版本的没有问题,求大神帮忙看一下!!!小白真的很想用2017 2017-6-6 17:48:07 org.apache.catalina.core.StandardContext listenerStart SEVERE: Error configuring application listener of class org.springframework.web.context.request.RequestContextListener java.lang.ExceptionInInitializerError at org.springframework.web.context.request.RequestContextListener.<init>(RequestContextListener.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4220) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4779) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803) at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:778) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:761) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.logging.LogFactory.HashtableImpl read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285) at java.lang.System.getProperty(System.java:650) at org.apache.commons.logging.LogFactory.createFactoryStore(LogFactory.java:320) at org.apache.commons.logging.LogFactory.<clinit>(LogFactory.java:1725) ... 34 more 2017-6-6 17:48:07 org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) 2017-6-6 17:48:07 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 2017-6-6 17:48:07 org.apache.catalina.core.StandardContext start SEVERE: Context [/spxt] startup failed due to previous errors 17:48:07,920 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] 17:48:07,920 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 17:48:07,921 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/C:/NP/NPsoftware/apache-tomcat-6.0.53/webapps/spxt/WEB-INF/classes/logback.xml] 17:48:07,922 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath. 17:48:07,922 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/C:/NP/NPsoftware/apache-tomcat-6.0.53/webapps/spxt/WEB-INF/classes/logback.xml] 17:48:07,922 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/NP/NPsoftware/apache-tomcat-6.0.53/webapps/spxt/WEB-INF/lib/export09xml-3.1.2.jar!/logback.xml] 17:48:08,137 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set 17:48:08,145 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [com.thunisoft.np.fy.fygyzj.util.logback.LogbackIpGetProperty] 17:48:08,150 |-ERROR in ch.qos.logback.core.joran.action.DefinePropertyAction - Could not create an PropertyDefiner of type [com.thunisoft.np.fy.fygyzj.util.logback.LogbackIpGetProperty]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type com.thunisoft.np.fy.fygyzj.util.logback.LogbackIpGetProperty at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type com.thunisoft.np.fy.fygyzj.util.logback.LogbackIpGetProperty at at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:73) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:48) at at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:35) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288) at at com.thunisoft.np.fy.fygyyw.servlet.SsclServlet.<clinit>(SsclServlet.java:80) at at sun.misc.Unsafe.ensureClassInitialized(Native Method) at at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25) at at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122) at at java.lang.reflect.Field.acquireFieldAccessor(Field.java:918) at at java.lang.reflect.Field.getFieldAccessor(Field.java:899) at at java.lang.reflect.Field.get(Field.java:358) at at org.apache.catalina.loader.WebappClassLoader.clearReferencesStaticFinal(WebappClassLoader.java:2106) at at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1969) at at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1871) at at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:742) at at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4994) at at org.apache.catalina.core.StandardContext.start(StandardContext.java:4824) at at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803) at at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125) at at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147) at at java.security.AccessController.doPrivileged(Native Method) at at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:778) at at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) at at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1080) at at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1003) at at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507) at at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322) at at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325) at at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069) at at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at at org.apache.catalina.core.StandardService.start(StandardService.java:525) at at org.apache.catalina.core.StandardServer.start(StandardServer.java:761) at at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at at java.lang.reflect.Method.invoke(Method.java:597) at at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.logging.LogFactory
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页