mac系统启动startup.sh tomcat启动失败问题!

启动的时候 

juniorkangdeMacBook-Pro:bin juniorkang$ ./startup.sh

-bash: ./startup.sh: Permission denied

提示没有权限  

然后把 权限改为777都不行

juniorkangdeMacBook-Pro:bin juniorkang$ chmod 777 startup.sh 

依然提示不行如下!

juniorkangdeMacBook-Pro:bin juniorkang$ ./startup.sh 

Cannot find ./catalina.sh

The file is absent or does not have execute permission

This file is needed to run this program

提示了这个的时候 !

只能使用

juniorkangdeMacBook-Pro:bin juniorkang$ chmod +x *.sh 

然后就可以了!

juniorkangdeMacBook-Pro:bin juniorkang$ sh startup.sh 

Using CATALINA_BASE:   /Users/juniorkang/Documents/jenkins/tomcat_jenkins

Using CATALINA_HOME:   /Users/juniorkang/Documents/jenkins/tomcat_jenkins

Using CATALINA_TMPDIR: /Users/juniorkang/Documents/jenkins/tomcat_jenkins/temp

Using JRE_HOME:        /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home

Using CLASSPATH:       /Users/juniorkang/Documents/jenkins/tomcat_jenkins/bin/bootstrap.jar:/Users/juniorkang/Documents/jenkins/tomcat_jenkins/bin/tomcat-juli.jar

Tomcat started.


你可能感兴趣的:(持续集成)