Solr在Weblogic中部署遇到的问题

Solr在Weblgoic中安装部署时,报错:

weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND problem: cvc-complex-type.2.4a: Expected elements 'mapped-name@ http://java.sun.com/xml/ns/javaee     injection-target@ http://java.sun.com/xml/ns/javaee   ' instead of 'env-entry-type@ http://java.sun.com/xml/ns/javaee   ' here in element env-entry@ http://java.sun.com/xml/ns/javaee:   <null>

将<env-entry-type>移到<env-entry-value>之前

原先:

<env-entry>
    <env-entry-name>solr/home</env-entry-name>
    <env-entry-value>/put/your/solr/home/here</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
</env-entry>

修改后:

<env-entry>
    <env-entry-name>solr/home</env-entry-name>
    <env-entry-type>java.lang.String</env-entry-type>
    <env-entry-value>/put/your/solr/home/here</env-entry-value>
</env-entry>

 问题解决,原因待后续研究。

你可能感兴趣的:(weblogic,Solr)