Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/354.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java JHipster可执行的战争与大气不可执行_Java_Spring Boot_Atmosphere_Jhipster - Fatal编程技术网

Java JHipster可执行的战争与大气不可执行

Java JHipster可执行的战争与大气不可执行,java,spring-boot,atmosphere,jhipster,Java,Spring Boot,Atmosphere,Jhipster,当生成一个启用了大气的新应用程序时,一切似乎都正常工作。但是当在可执行war中打包应用程序时(如jhipster主页上所述),应用程序无法正确加载 它开始抱怨Atmosphere annotation扫描无法扫描可执行jar内Atmosphere.jar中的注释,并出现错误的FormedUrlexception: [警告]org.atmosphere.cpr.DefaultAnnotationProcessor-无法扫描批注 java.net.MalformedURLException:索引11

当生成一个启用了大气的新应用程序时,一切似乎都正常工作。但是当在可执行war中打包应用程序时(如jhipster主页上所述),应用程序无法正确加载

它开始抱怨Atmosphere annotation扫描无法扫描可执行jar内Atmosphere.jar中的注释,并出现错误的FormedUrlexception:

[警告]org.atmosphere.cpr.DefaultAnnotationProcessor-无法扫描批注 java.net.MalformedURLException:索引11处不透明部分中的非法字符:jar:file:C:\Development\test\target\test-0.1-SNAPSHOT.war/WEB-INF/lib/atmosphere-runtime-2.1.0.jar/org/atmosphere/annota 激动/

我只生成了一个带有Atmosphere enablef的新项目,打包并尝试运行可执行的war。我是做错了什么还是错过了什么


感谢

对Atmosphere 2.2.2的更新修复了该问题

不需要Requiresupack,更多信息请查看jhipster generator的问题: