eclipse - What I need to setup netbeans for broadleaf commerce with glassfish 4.1? -
i tried broadleaf eclipse still gives more errors , familiar netbeans , glassfish setup mysql server , created new schema. don't know how create tables broadleaf not provided schema creation file. can broadleaf project automatically creates tables.also imported eclipse project netbeans project, tried maven install , tried run single-single modules, first run admin module , if modules needs run simultaneously how can i? when try run admin module gives following errors
warning: unable load class org.apache.hadoop.hdfs.web.resources.userprovider, reason: java.lang.noclassdeffounderror: com/sun/jersey/spi/inject/injectableprovider info: webmodule[null] servletcontext.log():set web app root system property: 'bladmin.root' = [/home/yogesh/documents/eclipse-workspace/demosite/admin/target/admin/] info: webmodule[null] servletcontext.log():initializing log4j [/home/yogesh/documents/eclipse-workspace/demosite/admin/target/admin/web-inf/log4j.xml] info: webmodule[null] servletcontext.log():initializing spring root webapplicationcontext info: [ warn] 19:32:15 runtimeenvironmentpropertiesconfigurer - unable determine runtime environment, using default environment 'development' info: [ warn] 19:32:17 mergexmlwebapplicationcontext - exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.beancreationexception: error creating bean name 'applicationeventmulticaster': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private java.util.concurrent.executor org.broadleafcommerce.common.event.broadleafapplicationeventmulticaster.taskexecutor; nested exception org.springframework.beans.factory.cannotloadbeanclassexception: error loading class [com.mycompany.sample.vendor.nullpaymentgateway.web.processor.nullpaymentgatewaytrextensionhandler] bean name 'blnullpaymentgatewaytrextensionhandler' defined in url [jar:file:/home/yogesh/documents/eclipse-workspace/demosite/admin/target/admin/web-inf/lib/core-1.0.jar!/com/mycompany/sample/vendor/nullpaymentgateway/web/processor/nullpaymentgatewaytrextensionhandler.class]: problem class file or dependent class; nested exception java.lang.unsupportedclassversionerror: class com.mycompany.sample.vendor.nullpaymentgateway.web.processor.nullpaymentgatewaytrextensionhandler has unsupported major or minor version numbers, greater found in java runtime environment version 1.7.0_80 @ org.springframework.beans.factory.annotation.autowiredannotationbeanpostprocessor.postprocesspropertyvalues(autowiredannotationbeanpostprocessor.java:334) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.populatebean(abstractautowirecapablebeanfactory.java:1210) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.docreatebean(abstractautowirecapablebeanfactory.java:537) @ org.springframework.beans.factory.support.abstractautowirecapablebeanfactory.createbean(abstractautowirecapablebeanfactory.java:476) @ org.springframework.beans.factory.support.abstractbeanfactory$1.getobject(abstractbeanfactory.java:303) @ org.springframework.beans.factory.support.defaultsingletonbeanregistry.getsingleton(defaultsingletonbeanregistry.java:230) @ org.springframework.beans.factory.support.abstractbeanfactory.dogetbean(abstractbeanfactory.java:299) @ org.springframework.beans.factory.support.abstractbeanfactory.getbean(abstractbeanfactory.java:199) @ org.springframework.context.support.abstractapplicationcontext.initapplicationeventmulticaster(abstractapplicationcontext.java:661) @ org.springframework.context.support.abstractapplicationcontext.refresh(abstractapplicationcontext.java:471) @ org.springframework.web.context.contextloader.configureandrefreshwebapplicationcontext(contextloader.java:403) @ org.springframework.web.context.contextloader.initwebapplicationcontext(contextloader.java:306) @ org.springframework.web.context.contextloaderlistener.contextinitialized(contextloaderlistener.java:106) @ org.broadleafcommerce.common.web.extensibility.mergecontextloader.contextinitialized(mergecontextloader.java:148) @ org.apache.catalina.core.standardcontext.contextlistenerstart(standardcontext.java:5394) @ com.sun.enterprise.web.webapplication.start(webapplication.java:168) @ org.glassfish.internal.data.engineref.start(engineref.java:122) @ org.glassfish.internal.data.moduleinfo.start(moduleinfo.java:291) @ org.glassfish.internal.data.applicationinfo.start(applicationinfo.java:352) @ com.sun.enterprise.v3.server.applicationlifecycle.deploy(applicationlifecycle.java:500) @ com.sun.enterprise.v3.server.applicationlifecycle.deploy(applicationlifecycle.java:219) @ org.glassfish.deployment.admin.deploycommand.execute(deploycommand.java:491) @ com.sun.enterprise.v3.admin.commandrunnerimpl$2$1.run(commandrunnerimpl.java:539) @ com.sun.enterprise.v3.admin.commandrunnerimpl$2$1.run(commandrunnerimpl.java:535) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:356) @ com.sun.enterprise.v3.admin.commandrunnerimpl$2.execute(commandrunnerimpl.java:534) @ com.sun.enterprise.v3.admin.commandrunnerimpl$3.run(commandrunnerimpl.java:565) @ com.sun.enterprise.v3.admin.commandrunnerimpl$3.run(commandrunnerimpl.java:557) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:356) @ com.sun.enterprise.v3.admin.commandrunnerimpl.docommand(commandrunnerimpl.java:556) @ com.sun.enterprise.v3.admin.commandrunnerimpl.docommand(commandrunnerimpl.java:1464) @ com.sun.enterprise.v3.admin.commandrunnerimpl.access$1300(commandrunnerimpl.java:109) severe: exception during lifecycle processing java.lang.exception: java.lang.illegalstateexception: containerbase.addchild: start: org.apache.catalina.lifecycleexception: org.springframework.beans.factory.beancreationexception: error creating bean name 'applicationeventmulticaster': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private java.util.concurrent.executor org.broadleafcommerce.common.event.broadleafapplicationeventmulticaster.taskexecutor; nested exception org.springframework.beans.factory.cannotloadbeanclassexception: error loading class [com.mycompany.sample.vendor.nullpaymentgateway.web.processor.nullpaymentgatewaytrextensionhandler] bean name 'blnullpaymentgatewaytrextensionhandler' defined in url [jar:file:/home/yogesh/documents/eclipse-workspace/demosite/admin/target/admin/web-inf/lib/core-1.0.jar!/com/mycompany/sample/vendor/nullpaymentgateway/web/processor/nullpaymentgatewaytrextensionhandler.class]: problem class file or dependent class; nested exception java.lang.unsupportedclassversionerror: class com.mycompany.sample.vendor.nullpaymentgateway.web.processor.nullpaymentgatewaytrextensionhandler has unsupported major or minor version numbers, greater found in java runtime environment version 1.7.0_80 @ com.sun.enterprise.web.webapplication.start(webapplication.java:168) @ org.glassfish.internal.data.engineref.start(engineref.java:122) @ org.glassfish.internal.data.moduleinfo.start(moduleinfo.java:291) @ org.glassfish.internal.data.applicationinfo.start(applicationinfo.java:352) @ com.sun.enterprise.v3.server.applicationlifecycle.deploy(applicationlifecycle.java:500) @ com.sun.enterprise.v3.server.applicationlifecycle.deploy(applicationlifecycle.java:219) @ org.glassfish.deployment.admin.deploycommand.execute(deploycommand.java:491) @ com.sun.enterprise.v3.admin.commandrunnerimpl$2$1.run(commandrunnerimpl.java:539) @ com.sun.enterprise.v3.admin.commandrunnerimpl$2$1.run(commandrunnerimpl.java:535) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:356) @ com.sun.enterprise.v3.admin.commandrunnerimpl$2.execute(commandrunnerimpl.java:534) @ com.sun.enterprise.v3.admin.commandrunnerimpl$3.run(commandrunnerimpl.java:565) @ com.sun.enterprise.v3.admin.commandrunnerimpl$3.run(commandrunnerimpl.java:557) @ java.security.accesscontroller.doprivileged(native method) @ javax.security.auth.subject.doas(subject.java:356) @ com.sun.enterprise.v3.admin.commandrunnerimpl.docommand(commandrunnerimpl.java:556) @ com.sun.enterprise.v3.admin.commandrunnerimpl.docommand(commandrunnerimpl.java:1464) @ com.sun.enterprise.v3.admin.commandrunnerimpl.access$1300(commandrunnerimpl.java:109) @ com.sun.enterprise.v3.admin.commandrunnerimpl$executioncontext.execute(commandrunnerimpl.java:1846) @ com.sun.enterprise.v3.admin.commandrunnerimpl$executioncontext.execute(commandrunnerimpl.java:1722) @ com.sun.enterprise.v3.admin.adminadapter.docommand(adminadapter.java:534) @ com.sun.enterprise.v3.admin.adminadapter.onmissingresource(adminadapter.java:224) @ org.glassfish.grizzly.http.server.statichttphandlerbase.service(statichttphandlerbase.java:189) @ com.sun.enterprise.v3.services.impl.containermapper$httphandlercallable.call(containermapper.java:459) @ com.sun.enterprise.v3.services.impl.containermapper.service(containermapper.java:167) @ org.glassfish.grizzly.http.server.httphandler.runservice(httphandler.java:201) @ org.glassfish.grizzly.http.server.httphandler.dohandle(httphandler.java:175) @ org.glassfish.grizzly.http.server.httpserverfilter.handleread(httpserverfilter.java:235) @ org.glassfish.grizzly.filterchain.executorresolver$9.execute(executorresolver.java:119) @ org.glassfish.grizzly.filterchain.defaultfilterchain.executefilter(defaultfilterchain.java:284) @ org.glassfish.grizzly.filterchain.defaultfilterchain.executechainpart(defaultfilterchain.java:201) @ org.glassfish.grizzly.filterchain.defaultfilterchain.execute(defaultfilterchain.java:133) @ org.glassfish.grizzly.filterchain.defaultfilterchain.process(defaultfilterchain.java:112) @ org.glassfish.grizzly.processorexecutor.execute(processorexecutor.java:77) @ org.glassfish.grizzly.nio.transport.tcpniotransport.fireioevent(tcpniotransport.java:561) @ org.glassfish.grizzly.strategies.abstractiostrategy.fireioevent(abstractiostrategy.java:112) @ org.glassfish.grizzly.strategies.workerthreadiostrategy.run0(workerthreadiostrategy.java:117) @ org.glassfish.grizzly.strategies.workerthreadiostrategy.access$100(workerthreadiostrategy.java:56) @ org.glassfish.grizzly.strategies.workerthreadiostrategy$workerthreadrunnable.run(workerthreadiostrategy.java:137) @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.dowork(abstractthreadpool.java:565) @ org.glassfish.grizzly.threadpool.abstractthreadpool$worker.run(abstractthreadpool.java:545) @ java.lang.thread.run(thread.java:745) severe: exception while loading app severe: undeployment failed context /admin severe: exception while loading app : java.lang.illegalstateexception: containerbase.addchild: start: org.apache.catalina.lifecycleexception: org.springframework.beans.factory.beancreationexception: error creating bean name 'applicationeventmulticaster': injection of autowired dependencies failed; nested exception org.springframework.beans.factory.beancreationexception: not autowire field: private java.util.concurrent.executor org.broadleafcommerce.common.event.broadleafapplicationeventmulticaster.taskexecutor; nested exception org.springframework.beans.factory.cannotloadbeanclassexception: error loading class [com.mycompany.sample.vendor.nullpaymentgateway.web.processor.nullpaymentgatewaytrextensionhandler] bean name 'blnullpaymentgatewaytrextensionhandler' defined in url [jar:file:/home/yogesh/documents/eclipse-workspace/demosite/admin/target/admin/web-inf/lib/core-1.0.jar!/com/mycompany/sample/vendor/nullpaymentgateway/web/processor/nullpaymentgatewaytrextensionhandler.class]: problem class file or dependent class; nested exception java.lang.unsupportedclassversionerror: class com.mycompany.sample.vendor.nullpaymentgateway.web.processor.nullpaymentgatewaytrextensionhandler has unsupported major or minor version numbers, greater found in java runtime environment version 1.7.0_80
and when tried run site http status 404 - not found
if using netbeans , glassfish broadleaf idea or not ?
broadleaf documentation quite elaborated. try following broadleaf getting started.
once setup project mentioned in link, try running site first , database created tables.
you don't need import schema such, running site first time automatically creates database.
hope helps.
Comments
Post a Comment