[ https://issues.apache.org/jira/browse/OOZIE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852653#comment-15852653 ]
Abhishek Bafna commented on OOZIE-2778: --------------------------------------- Thanks [~asasvari] for working on this. Though I still faced some issue and addeingexclusion of the {{jsp-api}} helped me. Please verify at your end and update the patch as required. Pasting a {{git diff}} of the additional changes on top of the current patch. {noformat} iff --git a/server/pom.xml b/server/pom.xml index a336aa8..dae6594 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -89,6 +89,10 @@ <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-util</artifactId> </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> </exclusions> </dependency> <dependency> @@ -125,6 +129,10 @@ <groupId>org.eclipse.jetty.aggregate</groupId> <artifactId>jetty-all</artifactId> </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> </exclusions> </dependency> <dependency> {noformat} > Copy only jetty.version related server dependencies to distro > -------------------------------------------------------------- > > Key: OOZIE-2778 > URL: https://issues.apache.org/jira/browse/OOZIE-2778 > Project: Oozie > Issue Type: Bug > Reporter: Attila Sasvari > Assignee: Attila Sasvari > Attachments: OOZIE-2778-01.patch > > > To compile JSP, org.eclipse.jdt.core is used (see > http://www.eclipse.org/jetty/documentation/9.2.20.v20161216/configuring-jsp.html#compiling-jsps). > However, additional currently jasper libraries are copied to > embedded-oozie-server/dependency/ in the distro directory. It can cause > problems (e.g. NoSuchMethodException at runtime) if classes are loaded from > that jars. > Furthermore, transitive dependencies can pull in old jetty libraries (such as > jetty-util 6) that can cause runtime issues (at server startup). > We can make sure with the maven assembly plugin that only jetty.version > related dependencies are copied to distro. -- This message was sent by Atlassian JIRA (v6.3.15#6346)