WELD-001210:验证beans.xml对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>.>
服务器无法访问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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将您的XML中的所有资源声明为本地,并将其包装在应用程序中。
Declares all resources in your XML to be local, and package them with the application.