iceey Posted May 2, 2015 Share Posted May 2, 2015 Hello, i tried to build the jasper server from source. I've checked the source code ( lastReviewed-trunk) from subversion. I always get an an compilation error. I don't know why. I've tried to delete the maven repository. [java] [iNFO] ------------------------------------------------------------- [java] [ERROR] COMPILATION ERROR : [java] [iNFO] ------------------------------------------------------------- [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-cli/7.2.0.Alpha1-redhat-4/jboss-as-cli-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-controller-client/7.2.0.Alpha1-redhat-4/jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-protocol/7.2.0.Alpha1-redhat-4/jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-build-config/7.2.0.Alpha1-redhat-4/jboss-as-build-config-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-controller/7.2.0.Alpha1-redhat-4/jboss-as-controller-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [iNFO] 5 errors [java] [iNFO] ------------------------------------------------------------- [java] [iNFO] ------------------------------------------------------------------------ [java] [iNFO] Reactor Summary: [java] [iNFO] [java] [iNFO] Jasper Server ...................................... SUCCESS [ 5.861 s] [java] [iNFO] Jasper Server API .................................. SUCCESS [ 0.006 s] [java] [iNFO] Jasper Server API - Common ......................... FAILURE [04:40 min] [java] [iNFO] Jasper Server API - Metadata Interfaces ............ SKIPPED [java] [iNFO] Jasper Server API - Engine ......................... SKIPPED [java] [iNFO] Jasper Server API - externalAuth ................... SKIPPED [java] [iNFO] Jasper Server API Implementations - All ............ SKIPPED [java] [iNFO] Jasper Server API Implementations - Common ......... SKIPPED [java] [iNFO] JasperServer Core Utilities ........................ SKIPPED [java] [iNFO] Jasper Server API Implementations - Metadata ....... SKIPPED [java] [iNFO] Jasper Server API impl - externalAuth .............. SKIPPED [java] [iNFO] Jasper Server API Implementations - Engine ......... SKIPPED [java] [iNFO] Jasper Server Hibernate Mappings ................... SKIPPED [java] [iNFO] Jasper Server Common WebServices ................... SKIPPED [java] [iNFO] JasperServer Data Transfer Objects ................. SKIPPED [java] [iNFO] JasperServer Jar for Webapp ........................ SKIPPED [java] [iNFO] JasperServer Export Import Tool .................... SKIPPED [java] [iNFO] JasperServer Search ................................ SKIPPED [java] [iNFO] JasperServer remote services ....................... SKIPPED [java] [iNFO] JasperServer JAX-RS services ....................... SKIPPED [java] [iNFO] JasperServer server Jar for WebServices ............ SKIPPED [java] [iNFO] Jasper Server API .................................. SKIPPED [java] [iNFO] Jasperserver Connectors ............................ SKIPPED [java] [iNFO] Hadoop Hive Connector .............................. SKIPPED [java] [iNFO] Cassandra Native Java Connector .................... SKIPPED [java] [iNFO] JasperServer server Jar for REST services .......... SKIPPED [java] [iNFO] MongoDB Datasource ................................. SKIPPED [java] [iNFO] JasperServer WAR ................................... SKIPPED [java] [iNFO] JasperServer Export Import Tool .................... SKIPPED [java] [iNFO] Jasper Server Integration Tests .................... SKIPPED [java] [iNFO] JasperServer Utilities ............................. SKIPPED [java] [iNFO] ------------------------------------------------------------------------ [java] [iNFO] BUILD FAILURE [java] [iNFO] ------------------------------------------------------------------------ [java] [iNFO] Total time: 04:47 min [java] [iNFO] Finished at: 2015-05-02T11:25:40+02:00 [java] [iNFO] Final Memory: 24M/146M [java] [iNFO] ------------------------------------------------------------------------ [java] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project jasperserver-api-common: Compilation failure: Compilation failure: [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-cli/7.2.0.Alpha1-redhat-4/jboss-as-cli-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-controller-client/7.2.0.Alpha1-redhat-4/jboss-as-controller-client-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-protocol/7.2.0.Alpha1-redhat-4/jboss-as-protocol-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-build-config/7.2.0.Alpha1-redhat-4/jboss-as-build-config-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] error: error reading /Users/gerald/.m2/repository/org/jboss/as/jboss-as-controller/7.2.0.Alpha1-redhat-4/jboss-as-controller-7.2.0.Alpha1-redhat-4.jar; error in opening zip file [java] [ERROR] -> [Help 1] [java] [ERROR] [java] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [java] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [java] [ERROR] [java] [ERROR] For more information about the errors and possible solutions, please read the following articles: [java] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [java] [ERROR] [java] [ERROR] After correcting the problems, you can resume the build with the command [java] [ERROR] mvn <goals> -rf :jasperserver-api-common[/code]How to fix that error? Link to comment Share on other sites More sharing options...
ryanp424 Posted May 4, 2015 Share Posted May 4, 2015 Can you attach your default_master.properties file? Link to comment Share on other sites More sharing options...
joshuatoepferyahoo.com Posted May 5, 2015 Share Posted May 5, 2015 iceey, When I built jasperserver from source, i noticed that several of the dependencies did not exist in my local maven repo. Make sure you are using the maven repo that comes with the jasperserver source download. in the default_master.properties files there is a property called... # Repo path (extra dependencies repository path) repo-path - make sure this points to the repository that comes with the source - Josh Link to comment Share on other sites More sharing options...
iceey Posted May 6, 2015 Author Share Posted May 6, 2015 Hi,i tried it again today and now it works. Maybe the repositories were not correct. Best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now