You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2016/03/02 12:24:18 UTC

[jira] [Commented] (UIMA-4803) Ruta update to 2.4 breaks project

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

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

Sorry about that.

A code inspection of the changes in 2.4.0 did not help. As far I I can tell, the same lines of code should be applied if the project does not specify a java and m2e nature. Most changes were implemented for UIMA-4602 which introduced control of used uima/ruta implementations besides the installed plugin version.

I need to find a volunteer with OSX to debug it...

> 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
>            Priority: Blocker
>             Fix For: 2.4.1ruta
>
>
> 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)