0 Replies Latest reply on Dec 18, 2015 7:43 AM by Maulee Parikh

    java.lang.NoSuchMethodError: org.mvel2.ParserContext.<init>

    Maulee Parikh Newbie

      Hi,

       

      I am using tomcat 7 and jbpm6.2 with spring configuration. Here is my configuration for process

       

      <bean id="process" factory-method="newClassPathResource"

        class="org.kie.internal.io.ResourceFactory" >

        <constructor-arg>

        <value>com/jbpm/config/earth_all_region.bpmn</value>

        </constructor-arg>

        </bean>

       

       

        <bean id="runtimeEnvironment"

        class="org.kie.spring.factorybeans.RuntimeEnvironmentFactoryBean">

        <property name="type" value="DEFAULT" />

        <property name="entityManagerFactory" ref="entityManagerFactory" />

        <property name="transactionManager" ref="jbpmTxManager" />

        <property name="userGroupCallback" ref="userGroupCallBackImpl" />

        <property name="taskService" ref="taskService" />

        <property name="assets">

        <map>

        <entry key-ref="process">

        <util:constant static-field="org.kie.api.io.ResourceType.BPMN2" />

        </entry>

        </map>

        </property>

        </bean>

       

      This is giving exception on server start up :

      java.lang.NoSuchMethodError: org.mvel2.ParserContext.<init>(Lorg/mvel2/ParserConfiguration;Ljava/lang/Object;)V

       

      I have upgrades the mvel jar from 2.1.2 to 2.1.4. But it is still not working for me. Any quick pointer to this will be helpful.

       

      Thanks.