WELD-001210:验证beans.xml对XSD的警告。 schema_reference.4

发布于 2025-02-04 15:47:45 字数 1688 浏览 3 评论 0原文

当我尝试在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>.>

服务器无法访问Internet,在Maven依赖项中,该方案在那里,我试图放置该版本 http://www.springframework.org/schema/schema/schema/schema/beans/beans //www.springframework.org/schema/beans/spring-beans-2.5.xsd" rel="nofollow noreferrer">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd没有版本,也没有clashpath:

在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">

有什么想法吗?谢谢

When I try to start the instance in weblogic 12, it receives the following warning and it does not start:

    <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>.>

The server does not have access to the internet, in the maven dependencies, the scheme is there, I have tried to put the version
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd, without version, also with clashpath:

Being deployed in weblogic 10, it works perfectly.

my beans:

<?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">

any idea? thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无尽的现实 2025-02-11 15:47:45

将您的XML中的所有资源声明为本地,并将其包装在应用程序中。

Declares all resources in your XML to be local, and package them with the application.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文