AnsweredAssumed Answered

Getting Exception in thread 'main' java.lang.NoClassDefFoundError: javax/el/ELContext while running  'Hello World ' program

Question asked by krishna.v174 on Oct 30, 2013
Latest reply on Nov 7, 2013 by frederikheremans1
Hi,

I am Very new to Aciviti. I tried to run the "Hello world " program which i got a sample from the internet.
While running i got the following Exception .
I already added the jar containing ELContext class in to my build path. But i wouldn't help me.


Exception in thread "main" java.lang.NoClassDefFoundError: javax/el/ELContext
   at org.activiti.impl.cfg.ProcessEngineFactory.createDefaultExpressionManager(ProcessEngineFactory.java:267)
   at org.activiti.impl.cfg.ProcessEngineFactory.init(ProcessEngineFactory.java:107)
   at org.activiti.impl.cfg.ProcessEngineFactory.createProcessEngine(ProcessEngineFactory.java:169)
   at org.activiti.DbProcessEngineBuilder.buildProcessEngine(DbProcessEngineBuilder.java:214)
   at Main.main(Main.java:17)
Caused by: java.lang.ClassNotFoundException: javax.el.ELContext
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   … 5 more

Outcomes