Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Epsilon] NoSuchMethodError running EOL from Java
[Epsilon] NoSuchMethodError running EOL from Java [message #617608] Sat, 10 May 2008 08:10
Conrad Hoffmann is currently offline Conrad Hoffmann
Messages: 12
Registered: July 2009
Junior Member
Hi,

I am trying to run an EOL program from within Java. I used the
RunEOLFromJava example from the homepage, which runs fine. I basically did
nothing but copy the code from Main.java into my own program and adjust
filenames for model and metamodel.

When I try to run it, I always get the following exception when calling
module.parse(code):
java.lang.NoSuchMethodError:
org.epsilon.eol.parse.ast.EolAstFactory.setASTNodeClass(Ljav a/lang/Class;)V
at org.epsilon.eol.parse.ast.EolAstFactory.<init>(EolAstFactory.java:23)
at org.epsilon.eol.AbstractModule.parse(AbstractModule.java:62)
at org.epsilon.eol.AbstractModule.parse(AbstractModule.java:56)

I added all required bundles to my manifest, and loading the model seems
to work fine. Also, since the module does not know about the model yet
(see below), I figure it can't be a faulty model. I dumbed the code down
to a single println statement, but it doesn't help either.

Any hints on what's wrong would be very helpful.

Thanks a lot, Conrad Hoffmann

EolModule module = new EolModule();
module.parse(code); <- this line throws the error
module.getContext().getModelRepository().addModel(model);
Previous Topic:[EVL]exists and unset references
Next Topic:[Epsilon] NoSuchMethodError running EOL from Java
Goto Forum:
  


Current Time: Mon Sep 22 04:19:01 GMT 2014

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

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