Hi Zhawen, We have on-going development happening on the aforementioned set of branches. The CXF error you have quoted is something we have fixed some time ago. Can you please verify if you have taken latest pulls from the branches?
Thanks and Regards, Ruwan Yatawara Senior Software Engineer, WSO2 Inc. email : [email protected] mobile : +94 77 9110413 blog : http://ruwansrants.blogspot.com/ www: :http://wso2.com On Thu, Mar 10, 2016 at 11:02 AM, 云展智创 <[email protected]> wrote: > Hi all, > > After several build tries, the error message were the same as below for > every devices: > > [2016-03-08 17:05:40,729] ERROR >>> {org.apache.catalina.core.ApplicationContext} - StandardWrapper.Throwable >>> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'AndroidSenseController': Cannot create inner bean >>> 'AndroidSenseControllerService' of type >>> [org.wso2.carbon.device.mgt.iot.androidsense.controller.service.impl.AndroidSenseControllerService] >>> while setting bean property 'serviceBeans' with key [0]; nested exception >>> is org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'AndroidSenseControllerService' defined in URL >>> [jndi:/localhost/android_sense/WEB-INF/cxf-servlet.xml]: Instantiation of >>> bean failed; nested exception is java.lang.NoClassDefFoundError: >>> org/wso2/carbon/device/mgt/iot/exception/DeviceControllerException >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) >>> >>> [2016-03-08 17:05:40,734] ERROR >>> {org.apache.catalina.core.StandardContext} - Servlet [CXFServlet] in web >>> application [/android_sense] threw load() exception >>> java.lang.ClassNotFoundException: >>> org.wso2.carbon.device.mgt.iot.exception.DeviceControllerException >>> at >>> org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:154) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) >>> at java.lang.Class.getDeclaredConstructors0(Native Method) >>> >>> [2016-03-08 17:05:40,871] ERROR >>> {org.wso2.carbon.apimgt.webapp.publisher.lifecycle.util.AnnotationUtil} - >>> Error encountered while scanning for annotations >>> java.lang.NoClassDefFoundError: >>> org/wso2/carbon/device/mgt/iot/exception/DeviceControllerException >>> at java.lang.Class.getDeclaredMethods0(Native Method) >>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2570) >>> at java.lang.Class.getDeclaredMethods(Class.java:1855) >>> >> > Any suggestions for this? Thanks. > ------ > Zhanwen > > 在 2016年3月9日,上午12:04,云展智创 <[email protected]> 写道: > > Hi Ruwan, > > Thanks for help. I had pulled all the updates of IoTS-1.0.0-M4 and build > the product-iot-server as the order you mentioned, but still got the same > errors when startup. > carbon-apimgt (release-4.3.x) > uhf-template-app (IoTS-1.0.0-M4) > carbon-device-mgt (IoTS-1.0.0-M4) > carbon-device-mgt-plugins (IoTS-1.0.0-M4) > product-iot-server (master) > > I have attached the error log below. > <errormsg when starting iot server.txt> > ------ > Zhanwen > > IOT & API Management > > 在 2016年3月8日,下午6:49,Ruwan Yatawara <[email protected]> 写道: > > Hi Zhanwen, > > Please build the following APIM branch as well, as the particular version > we are using has not been released yet. > > https://github.com/wso2/carbon-apimgt/tree/release-4.3.x > > Thanks and Regards, > > Ruwan Yatawara > > Senior Software Engineer, > WSO2 Inc. > > email : [email protected] > mobile : +94 77 9110413 > blog : http://ruwansrants.blogspot.com/ > www: :http://wso2.com > > > On Tue, Mar 8, 2016 at 3:45 PM, Ruwan Yatawara <[email protected]> wrote: > >> Hi Yasith, >> >> Please go ahead and build the components in the following order. You will >> be able to build a working distribution. >> >> https://github.com/wso2/carbon-device-mgt/tree/IoTS-1.0.0-M4 >> https://github.com/wso2/carbon-device-mgt-plugins/tree/IoTS-1.0.0-M4 >> >> https://github.com/wso2-incubator/product-iot-server/tree/master >> >> >> Thanks and Regards, >> >> Ruwan Yatawara >> >> Senior Software Engineer, >> WSO2 Inc. >> >> email : [email protected] >> mobile : +94 77 9110413 >> blog : http://ruwansrants.blogspot.com/ >> www: :http://wso2.com >> >> >> On Tue, Mar 8, 2016 at 3:05 PM, 云展智创 <[email protected]> wrote: >> >>> Yasith, >>> >>> Thank you. Now I can build product-iot-server successfully (I didn’t >>> build the carbon-analytics-common in your last mail but still pass the IoTS >>> building process. Was that step necessary? But I did build the >>> carbon-event-processing branch release 2.0.11 before for other testing). >>> But when I deploy the product in the target folder and run wso2server.sh. >>> There were lots of java errors about device plugin such as: >>> >>> [2016-03-08 17:05:40,729] ERROR >>> {org.apache.catalina.core.ApplicationContext} - StandardWrapper.Throwable >>> org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'AndroidSenseController': Cannot create inner bean >>> 'AndroidSenseControllerService' of type >>> [org.wso2.carbon.device.mgt.iot.androidsense.controller.service.impl.AndroidSenseControllerService] >>> while setting bean property 'serviceBeans' with key [0]; nested exception >>> is org.springframework.beans.factory.BeanCreationException: Error creating >>> bean with name 'AndroidSenseControllerService' defined in URL >>> [jndi:/localhost/android_sense/WEB-INF/cxf-servlet.xml]: Instantiation of >>> bean failed; nested exception is java.lang.NoClassDefFoundError: >>> org/wso2/carbon/device/mgt/iot/exception/DeviceControllerException >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353) >>> at >>> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153) >>> >>> [2016-03-08 17:05:40,734] ERROR >>> {org.apache.catalina.core.StandardContext} - Servlet [CXFServlet] in web >>> application [/android_sense] threw load() exception >>> java.lang.ClassNotFoundException: >>> org.wso2.carbon.device.mgt.iot.exception.DeviceControllerException >>> at >>> org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:154) >>> at >>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) >>> at java.lang.Class.getDeclaredConstructors0(Native Method) >>> >>> [2016-03-08 17:05:40,871] ERROR >>> {org.wso2.carbon.apimgt.webapp.publisher.lifecycle.util.AnnotationUtil} - >>> Error encountered while scanning for annotations >>> java.lang.NoClassDefFoundError: >>> org/wso2/carbon/device/mgt/iot/exception/DeviceControllerException >>> at java.lang.Class.getDeclaredMethods0(Native Method) >>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2570) >>> at java.lang.Class.getDeclaredMethods(Class.java:1855) >>> >>> And I could only see the errors and no devices after I login IoT server >>> device management page. Do you know what’s the problem with my IoTS >>> distribution? >>> >>> Thanks. >>> ------ >>> Zhanwen >>> >>> API & IOT Management >>> >>> 在 2016年3月8日,下午1:19,Yasith Lokuge <[email protected]> 写道: >>> >>> Hi Zhanwen, >>> >>> Get the updated carbon-device-mgt-plugins branch:IoTS-1.0.0-M4 and build >>> it. >>> >>> https://github.com/wso2/carbon-device-mgt-plugins branch:IoTS-1.0.0-M4 >>> >>> and build the following component as well, >>> >>> https://github.com/ruwany/carbon-analytics-common branch:master >>> >>> Then build the product-iot-server again. >>> >>> Regards, >>> Yasith Lokuge. >>> >>> >>> On Tue, Mar 8, 2016 at 8:51 AM, 云展智创 <[email protected]> wrote: >>> >>>> Hi Yasith, >>>> >>>> Thank you very much. Your solution helped me to pass the installation >>>> of WSO2 Carbon - Analytics Event Table Server Feature 1.0.6.SNAPSHOT. >>>> But now I got another error of missing >>>> 'org.wso2.carbon.device.mgt.server.feature.group [1.0.4.SNAPSHOT,1.1.0)’ >>>> >>>> And before building IoT Server, I had successfully built >>>> uuf-template-app, carbon-device-mgt, carbon-device-mgt-plugins using >>>> ‘IoTS-1.0.0-M4’ branch. Do I miss something? Thanks. >>>> >>>> Installing org.wso2.carbon.messaging.andes.feature.group 3.1.0. >>>> Installing org.wso2.mb.styles.feature.group 3.1.0. >>>> Installing org.wso2.stratos.mb.dashboard.ui.feature.group 3.1.0. >>>> Installing org.wso2.carbon.metrics.feature.group 1.2.0. >>>> Installation failed. >>>> Cannot complete the install because one or more required items could >>>> not be found. >>>> Software being installed: WSO2 Carbon - Mobile Device Management >>>> Feature 2.0.4.SNAPSHOT (org.wso2.carbon.device.mgt.mobile.feature.group >>>> 2.0.4.SNAPSHOT) >>>> Missing requirement: WSO2 Carbon - Mobile Device Management Feature >>>> 2.0.4.SNAPSHOT (org.wso2.carbon.device.mgt.mobile.feature.group >>>> 2.0.4.SNAPSHOT) requires 'org.wso2.carbon.device.mgt.server.feature.group >>>> [1.0.4.SNAPSHOT,1.1.0)' but it could not be found >>>> Application failed, log file location: >>>> /Users/zhanwen/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1457404117145.log >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Reactor Summary: >>>> [INFO] >>>> [INFO] WSO2 IoT Server - Parent ........................... SUCCESS [ >>>> 1.180 s] >>>> [INFO] WSO2 CDMF Tools .................................... SUCCESS [ >>>> 0.046 s] >>>> [INFO] WSO2 MDM Agent Android Archetype ................... SUCCESS [ >>>> 1.554 s] >>>> [INFO] WSO2 CDMF Device Type Archetype .................... SUCCESS [ >>>> 1.122 s] >>>> [INFO] WSO2 IoT Server - UI styles ........................ SUCCESS [ >>>> 1.250 s] >>>> [INFO] WSO2 IoT Server UI Features ........................ SUCCESS [ >>>> 0.036 s] >>>> [INFO] WSO2 IoT Server Styles Feature ..................... SUCCESS [ >>>> 0.854 s] >>>> [INFO] WSO2 IoT Server - P2 Profile Gen ................... FAILURE >>>> [37:26 min] >>>> [INFO] WSO2 IoT Server - Distribution ..................... SKIPPED >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 37:33 min >>>> [INFO] Finished at: 2016-03-08T10:28:42+08:00 >>>> [INFO] Final Memory: 34M/982M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] Failed to execute goal >>>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen >>>> (3-p2-profile-generation) on project wso2iot-profile-gen: P2 publisher >>>> return code was 13 -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >>>> [ERROR] >>>> [ERROR] After correcting the problems, you can resume the build with >>>> the command >>>> [ERROR] mvn <goals> -rf :wso2iot-profile-gen >>>> >>>> >>>> ------ >>>> Zhanwen >>>> >>>> IOT & API Management >>>> >>>> 在 2016年3月7日,下午7:36,Yasith Lokuge <[email protected]> 写道: >>>> >>>> Hi, >>>> >>>> In product-iot-server pom.xml change the "carbon.event-processing" >>>> version as follows; >>>> >>>> >>>> <carbon.event-processing.version>2.0.12</carbon.event-processing.version> >>>> >>>> Regards, >>>> Yasith Lokuge >>>> >>>> >>>> On Mon, Mar 7, 2016 at 3:32 PM, 云展智创 <[email protected]> wrote: >>>> >>>>> Hi all, >>>>> >>>>> When I compiled and built the product-iot-server(master) project from >>>>> Github, I got the following error: >>>>> 'org.wso2.carbon.event.processor.server.feature.group [2.0.12,2.1.0)' >>>>> but it could not be found. >>>>> >>>>> Can anyone help me to pass it? Thanks. >>>>> >>>>> Installing org.wso2.stratos.mb.dashboard.ui.feature.group 3.1.0. >>>>> Installing org.wso2.carbon.metrics.feature.group 1.2.0. >>>>> Installation failed. >>>>> Cannot complete the install because one or more required items could >>>>> not be found. >>>>> Software being installed: WSO2 Carbon - Analytics Event Table Server >>>>> Feature 1.0.6.SNAPSHOT (org.wso2.carbon.analytics.eventtable.feature.group >>>>> 1.0.6.SNAPSHOT) >>>>> Missing requirement: WSO2 Carbon - Analytics Event Table Server >>>>> Feature 1.0.6.SNAPSHOT (org.wso2.carbon.analytics.eventtable.feature.group >>>>> 1.0.6.SNAPSHOT) requires >>>>> 'org.wso2.carbon.event.processor.server.feature.group [2.0.12,2.1.0)' but >>>>> it could not be found >>>>> Application failed, log file location: >>>>> /Users/zhanwen/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1457340791209.log >>>>> >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Reactor Summary: >>>>> [INFO] >>>>> [INFO] WSO2 IoT Server - Parent ........................... SUCCESS [ >>>>> 0.982 s] >>>>> [INFO] WSO2 CDMF Tools .................................... SUCCESS [ >>>>> 0.044 s] >>>>> [INFO] WSO2 MDM Agent Android Archetype ................... SUCCESS [ >>>>> 1.610 s] >>>>> [INFO] WSO2 CDMF Device Type Archetype .................... SUCCESS [ >>>>> 1.075 s] >>>>> [INFO] WSO2 IoT Server - UI styles ........................ SUCCESS [ >>>>> 1.025 s] >>>>> [INFO] WSO2 IoT Server UI Features ........................ SUCCESS [ >>>>> 0.029 s] >>>>> [INFO] WSO2 IoT Server Styles Feature ..................... SUCCESS [ >>>>> 0.705 s] >>>>> [INFO] WSO2 IoT Server - P2 Profile Gen ................... FAILURE >>>>> [01:09 min] >>>>> [INFO] WSO2 IoT Server - Distribution ..................... SKIPPED >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] BUILD FAILURE >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 01:16 min >>>>> [INFO] Finished at: 2016-03-07T16:53:16+08:00 >>>>> [INFO] Final Memory: 51M/1238M >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [ERROR] Failed to execute goal >>>>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen >>>>> (3-p2-profile-generation) on project wso2iot-profile-gen: P2 publisher >>>>> return code was 13 -> [Help 1] >>>>> [ERROR] >>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>>> the -e switch. >>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>>> [ERROR] >>>>> [ERROR] For more information about the errors and possible solutions, >>>>> please read the following articles: >>>>> [ERROR] [Help 1] >>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >>>>> [ERROR] >>>>> [ERROR] After correcting the problems, you can resume the build with >>>>> the command >>>>> [ERROR] mvn <goals> -rf :wso2iot-profile-gen >>>>> >>>>> ------ >>>>> Zhanwen >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> *Regards,* >>>> *-Yasith Kanchana Lokuge-* >>>> >>>> website : http://www.techsurgeinnovations.com/ >>>> facebook : https://www.facebook.com/yasithlokuge >>>> linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ >>>> Mobile : +94771353682 >>>> Skype : yasith11 >>>> Twitter : @YasithLokuge >>>> >>>> >>>> >>> >>> >>> -- >>> *Regards,* >>> *-Yasith Kanchana Lokuge-* >>> >>> website : http://www.techsurgeinnovations.com/ >>> facebook : https://www.facebook.com/yasithlokuge >>> linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ >>> Mobile : +94771353682 >>> Skype : yasith11 >>> Twitter : @YasithLokuge >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
