uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Klügl (JIRA) <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-4803) Ruta update to 2.4 breaks project
Date Mon, 29 Feb 2016 15:30:18 GMT

    [ https://issues.apache.org/jira/browse/UIMA-4803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171988#comment-15171988
] 

Peter Klügl commented on UIMA-4803:
-----------------------------------

The new VM option only counts if Eclipse has been started in development mode (e.g., from
within another Eclipse).

The problem is that the implementation of uimaj cannot be found in the classpath of the new
vm in which RutaLauncher is started. Normally, the uimaj-core jar within the uima runtime
plugin jar is utilized in common ruta projects. In maven-based project, the jar of the dependencies
can be utilized. I changed some small things for ruta 2.4.0 but I would have never thought
that they cause troubles, especially for a specific OS only.

I will investigate my changes and will try to reproduce it when I find someone with OSX (problematic)

Another question: What natures does the project have? ruta, java, maven/m2e? (can be found
in the .project file)



> Ruta update to 2.4 breaks project
> ---------------------------------
>
>                 Key: UIMA-4803
>                 URL: https://issues.apache.org/jira/browse/UIMA-4803
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.4.0ruta
>         Environment: Eclipse Luna, OSX
>            Reporter: Matthias Grabmair
>            Assignee: Peter Klügl
>
> Updating to Ruta 2.4 causes my project to no longer compile. The main script quits with
the exception below. Occurs in both Eclipse Luna and Mars with UIMA 2.8.1. I did "UIMA Ruta"
-> "Update Project" and "UIMA Ruta" -> "Convert to Ruta Project" but it did not help.
Uninstalling 2.4 and reinstalling 2.3.1 fixes it.
> This seems to be similar to https://issues.apache.org/jira/browse/UIMA-3189
> - - -
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/uima/util/ProcessTrace
> 	at java.lang.Class.getDeclaredMethods0(Native Method)
> 	at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
> 	at java.lang.Class.privateGetMethodRecursive(Class.java:3040)
> 	at java.lang.Class.getMethod0(Class.java:3010)
> 	at java.lang.Class.getMethod(Class.java:1776)
> 	at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
> 	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
> Caused by: java.lang.ClassNotFoundException: org.apache.uima.util.ProcessTrace
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 7 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message