4.0.0
xxx.alexius
myapp
1.0-SNAPSHOT
war
my app
Core Application Platform
org.springframework.boot
spring-boot-starter-parent
1.2.2.RELEASE
UTF-8
1.7
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-data-mongodb
org.springframework.boot
spring-boot-starter-mobile
org.springframework.boot
spring-boot-starter-security
org.springframework.boot
spring-boot-starter-social-facebook
org.springframework.boot
spring-boot-starter-social-twitter
org.springframework.boot
spring-boot-starter-thymeleaf
org.springframework.boot
spring-boot-starter-web
mysql
mysql-connector-java
runtime
org.postgresql
postgresql
9.4-1201-jdbc41
runtime
org.springframework.boot
spring-boot-starter-test
test
org.apache.maven.plugins
maven-compiler-plugin
2.3.2
1.7
-Xlint:all
true
true
当我将它部署到Tomcat时,一切正常,但是当我尝试在Glassfish 4.1服务器上部署它时,我收到以下错误
SEVERE: Class [ liquibase/integration/spring/SpringLiquibase ] not found. Error while loading [ class org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration$LiquibaseConfiguration ]
SEVERE: Exception while deploying the app [platform]
SEVERE: Exception during lifecycle processing
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
什么是错误的任何想法?它是Spring还是Glassfish的bug?
本文由 投稿者 创作,文章地址:https://blog.isoyu.com/archives/java-spring-boot-appbuzaiglassfish-4-1shangbushu.html
采用知识共享署名4.0 国际许可协议进行许可。除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。最后编辑时间为:9 月 27, 2019 at 06:19 上午