Score
0
15 Unstar Star 67 Fork 38

monkeyk7 / MyOIDCJavaApache-2.0

MyOIDC-server运行失败

Open
狮子  Opened this issue
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.RuntimeException: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
 - with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]

缺少

<dependency>
    <groupId>com.sun.xml.bind</groupId>
    <artifactId>jaxb-impl</artifactId>
    <version>2.3.1</version>
    <scope>compile</scope>
</dependency>

还有问题

java.lang.ClassNotFoundException: com.sun.istack.Pool$Impl

缺少

<dependency>
    <groupId>com.sun.istack</groupId>
    <artifactId>istack-commons-runtime</artifactId>
    <version>3.0.9</version>
    <scope>compile</scope>
</dependency>

还发现 spring-boot-starter-data-jpa 包含 spring-boot-starter-jdbc,可以不再pom中引入
spring-boot-starter-jdbc

7238 mkk 1578914473 total 2 participants

Comments (4)

狮子 2020-08-06 14:33

加油

7238 mkk 1578914473
monkeyk7 2020-08-07 09:55 owner

什么环境下运行的?开发时没这问题

狮子 2020-08-10 11:37

win,jdk1.8_jdk1.8_111,使用的最新版MyOIDC-server。

7238 mkk 1578914473
monkeyk7 2020-08-11 18:33 owner

先看看如何复现问题,再解决

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/mkk/MyOIDC.git
git@gitee.com:mkk/MyOIDC.git
mkk
MyOIDC
MyOIDC

Search

131423 f1aaba0b 1899542 094922 1c74bed3 1899542