簡體   English   中英

WELD-001210:針對 xsd 驗證 beans.xml 時發出警告。schema_reference.4

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM