Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [ETL] NoSuchMethodError(Working into web based project)
[ETL] NoSuchMethodError [message #1708329] Tue, 15 September 2015 14:27 Go to next message
daniele di pompeo is currently offline daniele di pompeoFriend
Messages: 20
Registered: February 2015
Junior Member
Hi everyone,

i'm using Epsilon in a web based project, and i have this exception

Caused by: java.lang.NoSuchMethodError: org.antlr.runtime.Lexer.<init>(Lorg/antlr/runtime/CharStream;Lorg/antlr/runtime/RecognizerSharedState;)V
	at org.eclipse.epsilon.etl.parse.EtlLexer.<init>(EtlLexer.java:212)
	at org.eclipse.epsilon.etl.parse.EtlLexer.<init>(EtlLexer.java:209)
	at org.eclipse.epsilon.etl.EtlModule.createLexer(EtlModule.java:54)


In my project i'm using epsilon-1.2-kichensink.jar interim library.

The problem is only in the web based project, if i use the same code in the standalone one, i have not the exception.

In details, the called that generates the exception is

module.parse(new File(transformationPath));


where module is an EtlModule.

thanks
Daniele
Re: [ETL] NoSuchMethodError [message #1708331 is a reply to message #1708329] Tue, 15 September 2015 14:37 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2165
Registered: July 2009
Location: York, UK
Senior Member

Hi Daniele,

I suspect that this is a classpath problem (i.e. there's another version of ANTLR in the classpath of your application which takes precedence over the version of ANTLR bundled in the Epsilon kitchen-sink jar).

Cheers,
Dimitris
Re: [ETL] NoSuchMethodError [message #1708335 is a reply to message #1708331] Tue, 15 September 2015 15:11 Go to previous message
daniele di pompeo is currently offline daniele di pompeoFriend
Messages: 20
Registered: February 2015
Junior Member
Thanks as always for your help

cheers
Daniele
Previous Topic:[ECL] Comparing an Ordered-Set with Single Element
Next Topic:[ETL/EOL] Operation not known if used in guard more than one time
Goto Forum:
  


Current Time: Sat Apr 27 03:13:34 GMT 2024

Powered by FUDForum. Page generated in 0.03127 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top