| | |
| | | <artifactId>pollex</artifactId> |
| | | <version>1.1.0</version> |
| | | <scope>system</scope> |
| | | <systemPath>${basedir}/src/main/resources/lib/pcalife-otp.jar</systemPath> |
| | | <systemPath>${project.basedir}/src/main/resources/WEB-INF/lib/pcalife-otp.jar</systemPath> |
| | | </dependency> |
| | | |
| | | <!-- |
| | | |
| | | 由於 wildfly 10 上面會出現 ModuleNotFoundException: jdk.unsupported:main 的錯誤 |
| | | 根據查到的資料,為 spring-core 在 5.3.3 以上時,MANIFEST.MF 被加入了 Dependencies: jdk.unsupported |
| | | |
| | | 解法是將 spring core 降至2.3.X,或者 wildfly 升至 20 以上,但這兩個方法皆不容易 |
| | | |
| | | 目前則改由spring core jar內的 MANIFEST.MF 刪除 Dependencies: jdk.unsupported |
| | | |
| | | |
| | | https://stackoverflow.com/questions/65100927/springboot-wildfly-10-deployment-error-jdk-unsupported-module-not-found |
| | | --> |
| | | <dependency> |
| | | <groupId>org.springframework</groupId> |
| | | <artifactId>spring-core</artifactId> |
| | | <version>5.3.10</version> |
| | | <scope>system</scope> |
| | | <systemPath>${project.basedir}/src/main/resources/WEB-INF/lib/spring-core-5.3.10.jar</systemPath> |
| | | </dependency> |
| | | <!-- jhipster-needle-maven-add-dependency --> |
| | | </dependencies> |
| | |
| | | <warSourceDirectory>target/classes/static/</warSourceDirectory> |
| | | <webResources> |
| | | <resource> |
| | | <directory>src/main/resources/lib</directory> |
| | | <targetPath>WEB-INF/lib</targetPath> |
| | | <filtering>true</filtering> |
| | | <includes> |
| | | <include>**/*.jar</include> |
| | | </includes> |
| | | </resource> |
| | | <resource> |
| | | <directory>src/main/webapp</directory> |
| | | <directory>src/main/resources</directory> |
| | | <includes> |
| | | <include>WEB-INF/**</include> |
| | | </includes> |