Skip to Content
avatar image
Former Member

Error in Portal Development with Portal DCs

Hi Experts,

I have start working Portal DCs, I have followed the blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/10127. [original link is broken]

I can not able to Export the par file, While Deploying i am getting following error,

ERROR: portal/portapp: Build failed for sap.com/portal/portapp(MyComponents) in variant "default": Unable to find a javac compiler;

please help me to fix the error.

Regards,

Chinnadurai R

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 15, 2008 at 11:49 AM

    Hi chinnadurai,

    Have you checked your 'Installed JREs' settings in your NWDS installation? To check this choose Window menu and go through:

    Preferences -> Java -> Installed JREs.

    You should have here location added that points to j2sdk installed on your machine.

    Hope it helps,

    Regards,

    Michal M.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The following trace I found in server.

      [EXCEPTION]

      #1#com.sapportals.portal.prt.component.PortalComponentException: Error in init methodComponent : portal.portapp.PortalTest

      at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)

      at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:271)

      at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)

      at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:387)

      at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:488)

      at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)

      at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

      at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

      Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.arteriatech.PortalTest of Portal Component portal.portapp.PortalTest because: Could not instantiate implementation class

      at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)

      at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)

      at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)

      at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)

      at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)

      ... 26 more

      Caused by: java.lang.UnsupportedClassVersionError: com/arteriatech/PortalTest (Unsupported major.minor version 49.0)

      at java.lang.ClassLoader.defineClass0(Native Method)

      at java.lang.ClassLoader.defineClass(ClassLoader.java:539)

      at com.sapportals.portal.prt.util.AutoClassLoader.findClassInternal(AutoClassLoader.java:840)

      at com.sapportals.portal.prt.util.AutoClassLoader.loadClassLocally(AutoClassLoader.java:1210)

      at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1348)

      at com.sapportals.portal.prt.util.AutoClassLoader$2.run(AutoClassLoader.java:1425)

      at java.security.AccessController.doPrivileged(Native Method)

      at com.sapportals.portal.prt.util.AutoClassLoader.loadClass(AutoClassLoader.java:1421)

      at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)

      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

      at java.lang.Class.forName0(Native Method)

      at java.lang.Class.forName(Class.java:219)

      at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)

      ... 30 more

      Regards,

      Chinandurai R