mantian_snow
mantian_snow
采纳率0%
2015-02-21 13:01

linux中myecplise启动tomcat报错

我装了myeclipse2014和tomcat8.0和jdk1.8,jdk安装无任何问题,但是启动tomcat时就报错我是linux菜鸟新手,希望大神帮助,给个详细的解决办法,谢谢!:
二月 21, 2015 9:01:21 下午 org.apache.catalina.valves.AccessLogValve open
严重: Failed to open access log file [/home/snow/soft/tomcat8.0/logs/localhost_access_log.2015-02-21.txt]
java.io.FileNotFoundException: /home/snow/soft/tomcat8.0/logs/localhost_access_log.2015-02-21.txt (权限不够)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at org.apache.catalina.valves.AccessLogValve.open(AccessLogValve.java:579)
at org.apache.catalina.valves.AccessLogValve.startInternal(AccessLogValve.java:609)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:170)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:931)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • gmy915 _pepperMinG 6年前

    那个‘权限不够’是你自己打的吗,如果不是那就应该是权限问题。应为这个行已经说了是FileNotFoundException了。

    点赞 评论 复制链接分享