Build Failure at dhis-2

I am also receiving a huge number of emails from Hudson regarding build failures. Very annoying.

···

Sent from my HTC

----- Reply message -----
From: “Thuy Nguyen” thuy.hispvietnam@gmail.com
Date: Fri, Jul 22, 2011 07:12
Subject: [Dhis2-devs] Build Failure at dhis-2
To: “dhis2-devs” dhis2-devs@lists.launchpad.net

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

I got same errors when build the latest code too without knowing what the problem is and how to fix it.

*Do I have to reinstall windows?*Thủy

Hi,

I also got some problems but they went away on r 4194.

Anyway its a good idea to put a filter on the Jenkins emails to avoid
spamming your inbox.

Lars

···

On Fri, Jul 22, 2011 at 8:44 AM, Thuy Nguyen <thuy.hispvietnam@gmail.com> wrote:

I got same errors when build the latest code too without knowing what the problem is and how to fix it.
Do I have to reinstall windows?
Thủy

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp