RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

rapid miner integration with java web application

udaykumarudaykumar Member Posts: 6 Contributor I
edited September 2019 in Help
Hi sir

I want integrate rapid miner and  java web application .Please help me regarding this.

i have tried already with jsp but rapid miner is not initializing and is showing error as


org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 62

59:   
60:          System.setProperty("rapidminer.home", "C:\\Program Files\\Rapid-I\\RapidMiner5");
61:          //RapidMiner.init();
62:          RapidMiner.init();
63:          out.println("Connected to rapid miner");
64:        }
65:        catch (Exception e)


Stacktrace:
  org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:401)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

root cause

javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/rapid_i/Launcher
  org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
  org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
  org.apache.jsp.index_jsp._jspService(index_jsp.java:175)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

root cause

java.lang.NoClassDefFoundError: com/rapid_i/Launcher
  com.rapidminer.tools.ParameterService.ensureRapidMinerHomeSet(ParameterService.java:505)
  com.rapidminer.RapidMiner.init(RapidMiner.java:533)
  org.apache.jsp.index_jsp._jspService(index_jsp.java:116)
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.


Please specify the possible mistakes i have made
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,938   RM Engineering
    Hi,

    looks like there are library jars RapidMiner Studio needs missing on your classpath. Make sure that all .jar files from the RapidMiner/lib folder are present in your web application, otherwise you will run into more NoClassDefFoundErrors later on.

    Regards,
    Marco
Sign In or Register to comment.