Hi,
Am 21.06.2017 um 10:54 schrieb Mary Collins:
Hey Peter,
Thank you for your reply. I have tried with and without the classpath
extension option activated. I get the same error, but concerning a
different file. The error I get with the classpath activated is:
"An import could not be resolved. No file with name
"com/typesystems/CVParsingTypes.xml" was found in the class path or
data path. (Descriptor:
file:/home/mary/git/cv-parser/target/generated-sources/ruta/descriptor/com/semantic/projectWork/Main-RutaWorkbenchRutaTypeSystem.xml)"
This particular file (CVParsingTypes.xml) is the same TypeSystem that
I use for the normal execution of this script, so I know that it is in
the classpath. Are the classpaths for the normal script and the
testing different?
They should not be different.
I am also inserting a small screenshot of my classpaths view for the
script that I want to test with:
Can you post a link to the screenshot or send it directly to my email
address?
Best,
Peter
Images intégrées 1
Thank you,
Sincerely,
Mary Collins
2017-06-20 16:43 GMT+02:00 Peter Klügl <peter.klu...@averbis.com
<mailto:peter.klu...@averbis.com>>:
Hi,
just a quick guess: Is the option to extend the classpath activated?
It's the 6th button in the view, with four arrows.
Best,
Peter
Am 19.06.2017 um 17:18 schrieb Mary Collins:
> Hello everyone,
>
> When using the Annotation Test Ruta view, I encounter an Import
error,
> saying that the file it is looking for could not be found in the
class path
> or data path.
> The error:
> "An import could not be resolved. No file with name
> "com/semantic/projectWork/Main-RutaWorkbenchRutaTypeSystem.xml"
was found
> in the class path or data path. (Descriptor:
>
file:/home/mary/git/project1/target/generated-sources/ruta/descriptor/com/semantic/projectWork/Main-RutaWorkbenchRutaAnnotator.xml)"
>
> I have verified that the path to this particular generated file
is in the
> Class Path.
> I have put the testing files in the correct folder in the "Test"
hierarchy.
> Is there any other intermediare step that I may have missed when
trying to
> use this testing view, maybe something in the Type Systems or
the Class
> Path that needs to be changed?
>
> Thanks in advance for helping a newbie!
> Mary Collins
>