问题描述:

I recently followed Sebastian Zarnekow's short guide on how to deploy an Xtext DSL into a standalone project (found here: http://zarnekow.blogspot.co.uk/2010/06/how-to-deploy-xtext-standalone.html)

However I receive the following error when attempting to run the project...

"The string resource '_UI_DiagnosticRoot_diagnostic' could not be located"

Could this be something to do with how the JAR is exported, I chose the "Extract required libraries into generated JAR" option, if I try to use the second option where the libraries are packaged into the JAR I receive a different error telling me that a main method could not be found.

Has anyone come across this issue before? I tried updating EMF and Xtext but it didn't seem to have any affect.

Any help is appreciated.

网友答案:

this should be a "warning" only - maybe logged as error but not prevent the program from running. the problem is there a multiple plugin.properties in the root of the jars that may override each other. seems one from the org.eclipse.emf.ecore is going lost.

so you may create a plugin.properties that contains this (and maybe other keys) as well.

相关阅读:
Top