From: Justin R. (C) <Jus...@or...> - 2010-12-14 10:11:32
|
Hi all, I've just started rebuilding my workspace after a tragic Eclipse based incident, and I can't get the clean trunk to build with 'mvn package'. I am using JDK 1.6.02. Specifically, I get: [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure C:\jrowles_Inspire_2_5_0_view\inspire\src\GeoNetworkWorkspace\GeoNetwork MavenEclipse2\trunk\web\src\main\java\org\fao\geonet\kernel\mef\MEFVisit or.java:[59,2] cannot find symbol symbol : class InputStreamBridge location: class org.fao.geonet.kernel.mef.MEFVisitor C:\jrowles_Inspire_2_5_0_view\inspire\src\GeoNetworkWorkspace\GeoNetwork MavenEclipse2\trunk\web\src\main\java\org\fao\geonet\kernel\mef\MEFVisit or.java:[59,30] cannot find symbol symbol : class InputStreamBridge location: class org.fao.geonet.kernel.mef.MEFVisitor C:\jrowles_Inspire_2_5_0_view\inspire\src\GeoNetworkWorkspace\GeoNetwork MavenEclipse2\trunk\web\src\main\java\org\fao\geonet\kernel\mef\MEFVisit or.java:[101,2] cannot find symbol symbol : class InputStreamBridge location: class org.fao.geonet.kernel.mef.MEFVisitor C:\jrowles_Inspire_2_5_0_view\inspire\src\GeoNetworkWorkspace\GeoNetwork MavenEclipse2\trunk\web\src\main\java\org\fao\geonet\kernel\mef\MEFVisit or.java:[101,30] cannot find symbol symbol : class InputStreamBridge location: class org.fao.geonet.kernel.mef.MEFVisitor InputStreamBridge is declared in IVisitor.java (not sure why) . If I move it out to its own file, I can build fine. Anyone know anything about scope changes in Java 1.6? It may mean that this change needs to be committed to trunk. Justin. This email is only intended for the person to whom it is addressed and may contain confidential information. If you have received this email in error, please notify the sender and delete this email which must not be copied, distributed or disclosed to any other person. Unless stated otherwise, the contents of this email are personal to the writer and do not represent the official view of Ordnance Survey. Nor can any contract be formed on Ordnance Survey's behalf via email. We reserve the right to monitor emails and attachments without prior notice. Thank you for your cooperation. Ordnance Survey Romsey Road Southampton SO16 4GU Tel: 08456 050505 http://www.ordnancesurvey.co.uk |