现在我变得孤立无援了。我觉得我要转身了。当我相信解决某件事时,我就会打破另一件事。
本周开始使用这个Mac。在设置环境的过程中,我面临一些挑战。我有一个maven项目,它使用cargo plugin发布到tomcat,工作正常。为此,我不得不谷歌创建/etc/launchd.conf文件。出于某些原因,在netbeans中创建的Web应用程序不能发布到tomcat服务器,我认为这是由于o tomcat权限,但当我设置chmod 777/library/tomcat020时
SH-3.2 LS-L/库/Tomcat6020
总额136
-rw-r--r--@1 highjo admin 6148 nov 4 16:03.ds_store我有这个要归档
drwxr-xr-x@26 highjo admin 884 11月4日16:03 bin,此为文件夹
我本来想成为RWXRWX。这是第一个问题。
第二,马文的第一个项目已经不起作用了。
显示
org.apache.maven.surefire.booter.surefireexecutionexception:无法为报告创建文件:/myproject/target/surefire reports/com.myproject.dao.hibernate.somedaoimpltest.txt(权限被拒绝);嵌套异常为java.io.filenotfoundexception:/myproject/target/surefire reports/com.myproject.dao.hibernate.somedaoimpltest.txt(权限被拒绝)ed);嵌套异常为org.apache.maven.surefire.report.reportereexception:无法为报告创建文件:/myproject/target/surefire reports/com.myproject.dao.hibernate.somedaoimpltest.txt(权限被拒绝);嵌套异常为java.io.filenotfoundexception:/myproject/target/surefire reports/com.myproject.dao.hibernate.somedaoimpltest.txt(权限被拒绝)
每当我需要运行一个应该在Tomcat上发布的Web应用程序时,同样的异常和权限都会被拒绝。
NetBeans是否缺乏访问这些文件的权限?我很晚才开始建立开发环境。我需要帮助!谢谢你看这个