[jboss-user] [jBPM] - No String constructor found on type [org.drools.builder.ResourceType]

Ashok Kuppuswamy do-not-reply at jboss.com
Wed Dec 5 04:49:29 EST 2012


Ashok Kuppuswamy [https://community.jboss.org/people/akuppu] created the discussion

"No String constructor found on type [org.drools.builder.ResourceType]"

To view the discussion, visit: https://community.jboss.org/message/780083#780083

--------------------------------------------------------------
I am trying to integrate with spring and I am stuck on this error

2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Adding [systemProperties] PropertySource with lowest search precedence
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Adding [systemEnvironment] PropertySource with lowest search precedence
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Initializing new StandardEnvironment
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Adding [systemProperties] PropertySource with lowest search precedence
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Adding [systemEnvironment] PropertySource with lowest search precedence
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Initializing new StandardEnvironment
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Adding [systemProperties] PropertySource with lowest search precedence
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Adding [systemEnvironment] PropertySource with lowest search precedence
 2012-12-05 04:43:45 [main] DEBUG org.springframework.core.env.StandardEnvironment  - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
 2012-12-05 04:43:45 [main] DEBUG org.springframework.beans.BeanUtils  - No property editor [org.drools.builder.ResourceTypeEditor] found for type org.drools.builder.ResourceType according to 'Editor' suffix convention
 2012-12-05 04:43:45 [main] DEBUG org.springframework.beans.TypeConverterDelegate  - No String constructor found on type [org.drools.builder.ResourceType]
java.lang.NoSuchMethodException: org.drools.builder.ResourceType.<init>(java.lang.String)
          at java.lang.Class.getConstructor0(Class.java:2706)
          at java.lang.Class.getConstructor(Class.java:1657)
          at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:197)
          at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470)
          at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516)
          at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510)


This is the config I have

 <jbpm:kbase id="kbase">
    <jbpm:resources>
      <jbpm:resource type="BPMN2" source="classpath:Evaluation.bpmn"/>
    </jbpm:resources>
  </jbpm:kbase>

Any help is greatly appreciated.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/780083#780083]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121205/b738f0ac/attachment-0001.html 


More information about the jboss-user mailing list