![](/img/trans.png)
[英]SpringBoot app failng in WLS12c/Java8/RHEL fedora7.5 with Failed to read schema document http://www.springframework.org/schema/beans/spring-beans.xsd
[英]WELD-001210: Warning when validating beans.xml against xsd. schema_reference.4
當我嘗試在 weblogic 12 中啟動實例時,它收到以下警告並且沒有啟動:
<Warning> <org.jboss.weld.Bootstrap> <BEA-000000> <WELD-001210: Warning when validating file:/oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/servers/WS/tmp/_WL_user/ws-acces/u0zfqu/war/WEB-INF/beans.xml@8 against xsd.
schema_reference.4: Fallo al leer el documento de esquema 'http://www.springframework.org/schema/beans/spring-beans.xsd', porque
1) no se ha encontrado el documento;
2) no se ha podido leer el documento; 3) el elemento raíz del documento no es <xsd:schema>.>
服務器無法訪問inte.net,在maven依賴項中,scheme是有的,我試過把版本http://www.springframework.org/schema/beans http://www.springframework。 org/schema/beans/spring-beans-2.5.xsd ,沒有版本,也有沖突路徑:
部署在weblogic 10中,完美運行。
我的豆子:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
任何的想法? 謝謝
將 XML 中的所有資源聲明為本地資源,並將它們與應用程序一起聲明為 package 。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.