2017-06-28 115 views
0

我无法使用apache cxf项目运行spring-boot。 我与春天启动1.5.3 & 1.4.4试图与CXF版本一起3.1.10/3.1.11Springboot jaxws(cxf)问题

我的条目:

<parent> 
    <groupId>org.springframework.boot</groupId> 
    <artifactId>spring-boot-starter-parent</artifactId> 
    <version>1.4.4.RELEASE</version> 

<dependency> 
     <groupId>org.springframework.boot</groupId> 
     <artifactId>spring-boot-starter-web</artifactId> 
    </dependency> 

    <dependency> 
     <groupId>org.springframework.boot</groupId> 
     <artifactId>spring-boot-devtools</artifactId> 
    </dependency> 

    <dependency> 
     <groupId>org.apache.cxf</groupId> 
     <artifactId>cxf-rt-frontend-jaxws</artifactId> 
     <version>3.1.11</version> 
    </dependency> 
    <dependency> 
     <groupId>org.apache.cxf</groupId> 
     <artifactId>cxf-rt-transports-http</artifactId> 
     <version>3.1.11</version> 
    </dependency> 

请帮助我。

+0

什么是错误您收到? –

+0

无法找到符号 [错误]符号:当我使用1.5.4时,类ServletRegistrationBean在我使用1.4.4时无法加载扩展类AssertionBuilderRegistryImpl – Raheem

回答

1

如果您使用的春天启动1.5+,请使用CXF 3.1.11,请参阅本bug更多信息