SpringBootServletInitializer从WEB-INF加载外部资源

时间:2019-05-14 13:46:21

标签: spring spring-boot

  • 使用Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/libBioMiniSDK4964054121118688792.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. /opt/JDKit/jdk1.8.0_201/bin/java: symbol lookup error: /home/mlassoued/Bureau/vims-client/src/main/resources/dll/x86-64/libUFScanner.so: undefined symbol: libusb_init /WEB-INF内加载外部spring上下文不可用

我正在将Spring Boot与SpringBootServletInitializer一起使用,并尝试使用它来转换SpringBootServletInitializer l。

我有一个外部弹簧配置,它来自web.xm内的一个广口瓶。

问题是这种情况下容器与classpath*:spring-servlet-security.xml不兼容。

如何包含我的弹簧配置 预先谢谢您!

  

XmlWebApplicationContext rootContext =新的XmlWebApplicationContext();

0 个答案:

没有答案