You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/03 14:42:01 UTC

[jira] [Commented] (GEODE-7261) Geode V1 admin rest does not start with Spring 5.x jars on the classpath

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

ASF subversion and git services commented on GEODE-7261:
--------------------------------------------------------

Commit 59e22db92b0331bb4a2d9533fe75702adc9f3d0e in geode's branch refs/heads/develop from Jens Deppe
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=59e22db ]

GEODE-7261: Include spring-core in the geode-web war artifact (#4112)




> Geode V1 admin rest does not start with Spring 5.x jars on the classpath
> ------------------------------------------------------------------------
>
>                 Key: GEODE-7261
>                 URL: https://issues.apache.org/jira/browse/GEODE-7261
>             Project: Geode
>          Issue Type: Bug
>          Components: gfsh, rest (admin)
>    Affects Versions: 1.9.0, 1.9.1, 1.10.0, 1.11.0
>            Reporter: Jens Deppe
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The geode-web war includes several spring jars, but does not include {{spring-core}}. With Jetty debug logging enabled we can see the following error:
> {noformat}
>     [vm0] 07:30:50.469 [RMI TCP Connection(1)-127.0.0.1] DEBUG org.eclipse.jetty.servlet.ServletHandler - EXCEPTION
>     [vm0] java.lang.NoClassDefFoundError: org/springframework/core/ErrorCoded
>     [vm0]       at java.lang.ClassLoader.defineClass1(Native Method)
>     [vm0]       at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>     [vm0]       at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>     [vm0]       at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>     [vm0]       at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>     [vm0]       at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>     [vm0]       at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> {noformat}
> In addition, the war file also include {{commons-logging}} which causes the war logging to be redirected to stderr.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)