我被困在如何纠正这个错误上了。这可能是一个重复的问题,但由于不使用解决方案,我不知道如何在联接面和spring引导中配置它。这里是我的pom,下面是我的application.properties。
server.servlet.context-path=/School
joinfaces.primefaces.theme=admin
joinfaces.jsf.project-stage=development
joinfaces.primefaces.csp=true
joinfaces.primefaces.font-awesome=true
server.servlet.session.cookie.http-only=true
server.servlet.session.cookie.secure=true
joinfaces.myfaces.clear-input-when-submitted-value-is-null-or-empty=true
spring.datasource.url= jdbc:postgresql://localhost:5432/mydb
spring.datasource.username=postgres
spring.datasource.password=password
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
server.error.whitelabel.enabled=false
spring.mvc.throw-exception-if-no-handler-found=true
server.max-http-header-size=10MB
server.port=8443
security.require-ssl=true下面是当我尝试部署到外部tomcat时所得到的错误的完整堆栈跟踪。当我从IDE运行时,它工作得很好。

发布于 2021-12-06 12:59:38
如果使用IDE,请在文件中搜索单词admin_theme_fragment。您应该在代码中使用它一次,而不是多次使用它。
按此重新命名。
https://stackoverflow.com/questions/70244098
复制相似问题