I Downloaded the latest release Emm Alpha 2.1.0 and on running build "mvn 
install" thats my error pls help


[INFO] 33 errors[INFO] 
-------------------------------------------------------------[INFO] 
------------------------------------------------------------------------[INFO] 
Reactor Summary:[INFO][INFO] WSO2 MDM - Parent 
.................................. SUCCESS [  1.995 s][INFO] WSO2 MDM - Mobile 
Device Management Admin Services . FAILURE [ 23.470 s][INFO] 
wso2mdm-product-mobileservices ..................... SKIPPED[INFO] JAX-RS 
Windows API ................................. SKIPPED[INFO] JAX-RS Android API 
................................. SKIPPED[INFO] WSO2 EMM - Enterprise Mobility 
Manager End-user Web Application SKIPPED[INFO] WSO2 EMM - Enterprise Mobility 
Manager Web Agent ... SKIPPED[INFO] WSO2 Mobile Device Manager (MDM) - UI 
styles ....... SKIPPED[INFO] WSO2 Mobile Device Manager (MDM) Features 
.......... SKIPPED[INFO] WSO2 Mobile Device Manager (MDM) Styles Feature .... 
SKIPPED[INFO] WSO2 Mobile Device Manager (MDM) - P2 Profile Gen .. 
SKIPPED[INFO] WSO2 Mobile Device Manager (MDM) - Distribution .... 
SKIPPED[INFO] WSO2 MDM - Integration Tests ....................... 
SKIPPED[INFO] WSO2 MDM Integration Test Common ................... 
SKIPPED[INFO] WSO2 MDM Integration Test Common ................... 
SKIPPED[INFO] WSO2 MDM - Integration Admin Clients ............... 
SKIPPED[INFO] WSO2 MDM - Integration Test Utils .................. 
SKIPPED[INFO] WSO2 MDM - Integration Test UI Pages ............... 
SKIPPED[INFO] WSO2 MDM Backend Integration Tests ................. 
SKIPPED[INFO] WSO2 MDM - Integration Test UI Module .............. 
SKIPPED[INFO] WSO2 MDM Platform Integration Tests ................ 
SKIPPED[INFO] 
------------------------------------------------------------------------[INFO] 
BUILD FAILURE[INFO] 
------------------------------------------------------------------------[INFO] 
Total time: 27.131 s[INFO] Finished at: 2016-06-08T12:39:47+01:00[INFO] Final 
Memory: 67M/1279M[INFO] 
------------------------------------------------------------------------[ERROR] 
Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile (default-compile) 
on project mdm-admin: Compilation failure: Compilation failure:[ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[71,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[88,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[70,68]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[87,104]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[116,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[115,112]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[154,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[146,53]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[200,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[223,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[192,82]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[215,88]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[269,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[294,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[260,61]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[285,66]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[343,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[354,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[335,66]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[353,68]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[403,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[414,10]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[395,49]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[413,68]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[476,14]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[517,14]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[468,41]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[509,76]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[583,14]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[624,14]
 error: exception SQLException is never thrown in body of corresponding try 
statement[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[574,60]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Dashboard.java:[615,60]
 error: unreported exception DataAccessLayerException; must be caught or 
declared to be thrown[ERROR][ERROR] 
\JAVA\proMDM\product-emm-2.1.0-alpha\modules\apps\jax-rs\mdm-admin\src\main\java\org\wso2\carbon\mdm\api\Operation.java:[126,39]
 error: method addOperation in interface DeviceManagementProviderService cannot 
be applied to given types;[ERROR] -> [Help 
1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile 
(default-compile) on project mdm-admin: Compilation failure        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 
       at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)       
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)        at 
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)        at 
org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)        at 
org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)        at 
org.apache.maven.cli.MavenCli.main(MavenCli.java:197)        at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)   
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)     
   at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)Caused 
by: org.apache.maven.plugin.CompilationFailureException: Compilation failure    
    at 
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)  
      at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) 
       ... 20 more[ERROR][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/MojoFailureException[ERROR][ERROR]
 After correcting the problems, you can resume the build with the 
command[ERROR]   mvn <goals> -rf :mdm-admin
E:\JAVA\proMDM\product-emm-2.1.0-alpha>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to