The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

rapid miner integration with java web application

udaykumarudaykumar Member Posts: 6 Contributor II
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 Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 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.