eclipse galileo中tomcat启动出现 Can't load server.xml from...,具体错误信息如下:
2011-3-22 10:50:10 org.apache.catalina.startup.Catalina load
警告: Can't load server.xml from E:\ide_workspaces\projects\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\server.xml
2011-3-22 10:50:10 org.apache.catalina.startup.Catalina load
警告: Can't load server.xml from E:\ide_workspaces\projects\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\conf\server.xml
2011-3-22 10:50:10 org.apache.catalina.startup.Catalina start
信息: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
... 6 more
挺奇怪的,以前一直好好的,今天加了一个工程的server配置,就出现这个了,仔细回想一下上午改了哪些server的配置,后来发现我把
我把 Automatically publish when starting servers的那个勾去掉了,这个时候再次新建一个server,启动就报上面的错误了