Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620214 - net-vpn/i2p-0.9.30: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
Summary: net-vpn/i2p-0.9.30: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/co...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: tharvik
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-30 18:58 UTC by El Goretto
Modified: 2017-06-11 14:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description El Goretto 2017-05-30 18:58:07 UTC
Symptoms:
In router.log:
30/05/17 15:11:18 WARN  [le Jetty-286] rg.eclipse.jetty.server.Server: : javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/LoopTag
And when you go to http://your_i2p_router:7657/susidns/addressbook?book=router you get an HTTP 500 error.

Cause:
wrapper.config seems to reference a deprecated path to JSTL jars.

Fix: 
In wrapper.config, 
Replace: wrapper.java.classpath.X=//usr/share/jakarta-jstl/lib/*.jar
By: wrapper.java.classpath.X=//usr/share/tomcat-jstl-spec/lib/*.jar
    wrapper.java.classpath.X+1=//usr/share/tomcat-jstl-impl/lib/*.jar
Comment 1 tharvik 2017-06-11 14:35:12 UTC
The main issue there is with i2p's ebuild is that, in order to avoid to reintroduce in the network, we have to keep some configuration. The wrapper.config in /var/lib/i2p/.i2p is not updated by newer ebuilds, as this is user generated, so, some old configuration won't be overwritten.

The fix you give is for an older version of the default config file, if you remove it and restart the daemon, it should work.

If you have any idea of how to improve this bad design, feel free!