相关疑难解决方法(0)

Weblogic 11g和JavaEE 6

我想知道Weblogic 11g是否已经支持JavaEE 6.由于我在google中没有找到任何关于它的内容,我认为它没有,直到我发现评论说Oracle WebLogic Server 11g是Java EE 6投诉.

尽管如此,我还没有找到支持新Java EE 6功能的模块.

有人知道这个吗?

java-ee weblogic11g java-ee-6

10
推荐指数
2
解决办法
1万
查看次数

应用程序不是从Spring Boot 1.2.1 + Spring Security + Servlet 2.5开始的

我有一个带有Spring Security启动器的Spring Boot应用程序,可以在"现代"(即Servlet 3.0+)J2E服务器(如Tomcat 7或Jetty 8)中运行良好.

我的问题是我必须在Weblogic 10.3服务器(生产一)中运行应用程序,它实现了Servlet 2.5规范,并且不支持Servlet 3.0+,根据这里这里.

我已经看到,除了正式的Spring Boot项目以支持遗留服务器/应用程序,也就是Spring Boot Legacy项目,该程序运行良好......直到我激活spring-boot-starter-security依赖项:-S

实际上,Spring Boot Legacy跟踪器存在一个未解决的问题.

我在Tomcat 6(Servlet 2.5)服务器上重现完全相同的错误(见下文).

那么,是否有人已经成功地使Spring Boot + Spring Security +基于Servlet 2.5的服务器协同工作?

2015-02-03 23:17:12.208 ERROR 2662 --- [on(4)-127.0.0.1] o.s.boot.SpringApplication               : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityFilterChainRegistration' defined in class path resource [org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.context.embedded.FilterRegistrationBean]: Factory method 'securityFilterChainRegistration' threw exception; nested exception …
Run Code Online (Sandbox Code Playgroud)

java spring-security servlet-2.5 spring-boot

6
推荐指数
1
解决办法
6394
查看次数