Jetty8和JavaBean tmp失败

Jetty8和JavaBean tmp失败,java,debian,jetty,Java,Debian,Jetty,我在Debian 8 Jessie上运行Jetty 8时遇到了一个奇怪的问题。。。不知道从哪里挖掘,应用程序似乎还可以,因为在windows上,Jenkins部署的应用程序运行良好。哪里会有问题?似乎是权限问题。检查您是否有权限写入此文件夹此文件夹应自动从war文件创建。我不知道为什么这个文件夹没有被创建,老实说,我甚至不知道最终把这个文件夹放在哪里。好吧,我找到了解决办法。/usr/share/jetty8的权限错误,对此的修复方法很简单:chown——递归jetty/usr/share/je

我在Debian 8 Jessie上运行Jetty 8时遇到了一个奇怪的问题。。。不知道从哪里挖掘,应用程序似乎还可以,因为在windows上,Jenkins部署的应用程序运行良好。哪里会有问题?

似乎是权限问题。检查您是否有权限写入此文件夹此文件夹应自动从war文件创建。我不知道为什么这个文件夹没有被创建,老实说,我甚至不知道最终把这个文件夹放在哪里。好吧,我找到了解决办法。/usr/share/jetty8的权限错误,对此的修复方法很简单:
chown——递归jetty/usr/share/jetty8
<code>[ERROR] 2016-01-23 14:48:41,925 [main] org.springframework.web.context.ContextLoader {} - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.config.ConsumerEndpointFactoryBean#54': Cannot resolve reference to bean 'org.springframework.integration.file.config.FileWritingMessageHandlerFactoryBean#10' while setting bean property 'handler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.integration.file.config.FileWritingMessageHandlerFactoryBean#10': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanInitializationException: failed to initialize MessageHandler; nested exception is java.lang.IllegalArgumentException: Destination directory [./taust-ee] could not be created</code>