dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13243
Re: Build Failure at dhis-2
*Dear all,*
**
*Above errors one developers helped by sent those files to me. But then I
still couldn't build the code. It show another messages with 14 errors.*
**
*[INFO] 14 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] DHIS 2 ............................................ SUCCESS [0.281s]
[INFO] DHIS API .......................................... SUCCESS [3.510s]
[INFO] DHIS Support Parent Project ....................... SUCCESS [0.016s]
[INFO] DHIS Test Support ................................. FAILURE [0.686s]
[INFO] DHIS External Support ............................. SKIPPED
[INFO] DHIS Hibernate Support ............................ SKIPPED
[INFO] DHIS System Support ............................... SKIPPED
[INFO] DHIS JDBC Service ................................. SKIPPED
[INFO] DHIS XML framework services ....................... SKIPPED
[INFO] DHIS Services Parent Project ...................... SKIPPED
[INFO] DHIS Core API Implementations ..................... SKIPPED
[INFO] DHIS I18n Static .................................. SKIPPED
[INFO] DHIS Options ...................................... SKIPPED
[INFO] DHIS Administration Service ....................... SKIPPED
[INFO] DHIS DataMart Service - Default ................... SKIPPED
[INFO] DHIS Aggregation Service - Default ................ SKIPPED
[INFO] DHIS OrganisationUnit API Implementations ......... SKIPPED
[INFO] DHIS Reporting Service ............................ SKIPPED
[INFO] DHIS Import-Export Service ........................ SKIPPED
[INFO] DHIS Patient API Implementations .................. SKIPPED
[INFO] DHIS JDBC / External Test Project ................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.883s
[INFO] Finished at: Fri Jul 22 10:38:44 IST 2011
[INFO] Final Memory: 14M/45M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project dhis-support-test: Compilation
failure:
Compilation failure:
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[38,51] package
org.springframework.b
eans.factory.annotation does not exist
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[45,46] package
org.springframework.t
ransaction.support does not exist
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisSpringTest.java:[38,49] package
org.springframe
work.transaction.annotation does not exist
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisSpringTest.java:[47,1] cannot find symbol
[ERROR] symbol: class Transactional
[ERROR] @Transactional
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[56,5] cannot find symbol
[ERROR] symbol : class Autowired
[ERROR] location: class org.hisp.dhis.DhisTest
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[131,22] cannot access
org.springfram
ework.beans.factory.ListableBeanFactory
[ERROR] class file for org.springframework.beans.factory.ListableBeanFactory
not
found
[ERROR] return context.getBean( beanId );
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[143,20] cannot access
org.springfram
ework.beans.factory.HierarchicalBeanFactory
[ERROR] class file for
org.springframework.beans.factory.HierarchicalBeanFactory
not found
[ERROR] if ( context.containsBean( id ) )
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[145,35] cannot access
org.springfram
ework.core.io.support.ResourcePatternResolver
[ERROR] class file for
org.springframework.core.io.support.ResourcePatternResolv
er not found
[ERROR] Object object = context.getBean( id );
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[162,72] cannot access
org.springfram
ework.transaction.support.ResourceHolderSupport
[ERROR] class file for
org.springframework.transaction.support.ResourceHolderSup
port not found
[ERROR] TransactionSynchronizationManager.bindResource( sessionFactory, new
Sess
ionHolder( session ) );
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[162,8] cannot find symbol
[ERROR] symbol : variable TransactionSynchronizationManager
[ERROR] location: class org.hisp.dhis.DhisTest
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisTest.java:[172,54] cannot find symbol
[ERROR] symbol : variable TransactionSynchronizationManager
[ERROR] location: class org.hisp.dhis.DhisTest
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisSpringTest.java:[94,22] cannot find symbol
[ERROR] symbol : method getBean(java.lang.String)
[ERROR] location: interface org.springframework.context.ApplicationContext
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisSpringTest.java:[106,20] cannot find symbol
[ERROR] symbol : method containsBean(java.lang.String)
[ERROR] location: interface org.springframework.context.ApplicationContext
[ERROR] \Work\DHIS\Source
Code\dhis2.3\2.3\dhis-2\dhis-support\dhis-support-test
\src\main\java\org\hisp\dhis\DhisSpringTest.java:[108,35] cannot find symbol
[ERROR] symbol : method getBean(java.lang.String)
[ERROR] location: interface org.springframework.context.ApplicationContext
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command*
*[ERROR] mvn <goals> -rf :dhis-support-test
**Thủy*
References