|
我刚刚接触Ubuntu,发现几个跟要限有关的问题(自己分析)
安装eclipse+myeclipse+tomcat后,在myeclipse中运行tomcat时出错
2006-4-5 16:15:17 org.apache.catalina.startup.Catalina load
警告: Can't load server.xml from /opt/tomcat/conf/server.xml
2006-4-5 16:15:17 org.apache.catalina.startup.Catalina load
警告: Can't load server.xml from /opt/tomcat/conf/server.xml
2006-4-5 16:15:17 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:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
... 6 more
试了一下,将644权限给server.xml后,又读不了web.xml,再加权限后,又会有新的类读不了,
我想请教一下,这个怎么解决,另外,整个ubuntu中的权限怎么回事
谢谢 |
|