Java JHipster可执行的战争与大气不可执行
当生成一个启用了大气的新应用程序时,一切似乎都正常工作。但是当在可执行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。我是做错了什么还是错过了什么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
感谢对Atmosphere 2.2.2的更新修复了该问题 不需要Requiresupack,更多信息请查看jhipster generator的问题: