Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Created Projet Wizard Could not be started - ClassNotFoundException
Created Projet Wizard Could not be started - ClassNotFoundException [message #1777092] Fri, 24 November 2017 11:31 Go to next message
René Bärnreuther is currently offline René BärnreutherFriend
Messages: 31
Registered: October 2017
Member
Hi,

I just started to try to create a ProjectWizard for my created language.

I added the following to the plugin.xml of the Mainproject:
	<extension
       point="org.eclipse.ui.newWizards">
    <category
          id="de.ubt.ai1.athena.xbase.ui.category"
          name="Athena Education based Language">
    </category>
    <wizard
          category="de.ubt.ai1.athena.xbase.ui.category"
          class="de.ubt.ai1.athena.xbase.ui.AthenaExecutableExtensionFactory:de.ubt.ai1.athena.xbase.ui.wizard.AthenaNewProjectWizard"
          id="de.ubt.ai1.athena.xbase.ui.wizard.AthenaNewProjectWizard"
          name="Athena Project"
          project="true">
    </wizard>
 </extension>


and generated everything.

If I start a new eclipse instance I also see the Project and I am able to click on it. But as soon as I start I get the following error:

The selected wizard could not be started.
Plug-in de.ubt.ai1.athena.xbase was unable to load class de.ubt.ai1.athena.xbase.ui.AthenaExecutableExtensionFactory.
de.ubt.ai1.athena.xbase.ui.AthenaExecutableExtensionFactory cannot be found by de.ubt.ai1.athena.xbase_1.0.0.qualifier


Is there anything I missed? I couldn't find a good tutorial online unfortunatly (or I didn't look good enough).

If there are other importants file I missed for the error search just tell me and I will provide them.


Thanks in advance!




[Updated on: Fri, 24 November 2017 11:34]

Report message to a moderator

Re: Created Projet Wizard Could not be started - ClassNotFoundException [message #1777094 is a reply to message #1777092] Fri, 24 November 2017 11:33 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11628
Registered: July 2009
Senior Member
what is the main project?

you shoudl add it to yourdsl.ui?


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Created Projet Wizard Could not be started - ClassNotFoundException [message #1777095 is a reply to message #1777094] Fri, 24 November 2017 11:34 Go to previous message
René Bärnreuther is currently offline René BärnreutherFriend
Messages: 31
Registered: October 2017
Member
Just fixed it myself, that was the error. Thank you!

Previous Topic:is ther anyway to autoimport classes (in external jar) while using Stringconcatenation
Next Topic:Xtext web support into Angular app
Goto Forum:
  


Current Time: Wed Jan 24 08:02:41 GMT 2018

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

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