[Windup-users] Error, 'javaclass' element must have a non-empty 'type' attribute

windup-users at lists.jboss.org windup-users at lists.jboss.org
Mon Dec 8 18:05:55 EST 2014


I'm getting the following error when running my custom rule.

***ERROR*** Failed to parse XML configuration at: file:/Users/emily/Downloads/windup-distribution-2.0.0.Beta4/rules/extrarules.windup.xml due to: Error, 'javaclass' element must have a non-empty 'type' attribute

<?xml version="1.0"?>
<ruleset xmlns="http://windup.jboss.org/v1/xml"
  id="customruleprovider">
  <!-- This defaults to MIGRATION_RULES -->
  <phase>
    DISCOVERY
  </phase>
  <rules>
    <rule>
      <when>
        <javaclass references="weblogic.servlet">
          <location>IMPORT</location>
        </javaclass>
      </when>
      <perform>
        <hint>
      <message>Message from XML Rule</message>
          <link href="http://example.com" description="Description from XML Hint Link" />
        </hint>
        <log message="test log message"/>
      </perform>
      <otherwise>
        <!--  -->
      </otherwise>
    </rule>
  </rules>
</ruleset>

Posted by forums
Original post: https://developer.jboss.org/message/912793#912793




More information about the Windup-users mailing list