|
打包的时候最后有个选择logo和横屏竖屏图片的,如何我不选这三个图片mac系统可以正常打包并安装到手机(wex5打包完后再用xcode 7.3.1原生打包才实现正常安装),当我选择图片的时候,打包不成功,报错如下:
代码中未添加和图片有关的插件,是这个原因吗,tomcat调试模式错误代码如下:
Caused by: java.io.IOException: Cannot run program "/Users/fanglizhen/Desktop/WeX/model/UI2/system/deploy/common/antlib/convert" (in directory "/Users/fanglizhen/Desktop/WeX/apache-tomcat/temp"): error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:41)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
... 34 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 40 more
感觉像是权限问题,然后看了下当前用户能够访问图片做在路径的文件具有读和写权限
tomcatError.rar
(6.48 KB, 下载次数: 110)
|
|