PriyaranjanMohapatra / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

2.3beta1 build failure #81

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. svn update in restclient-read-only
2. mvn package
3. Get build failure below

What is the expected output? What do you see instead?
Expect package to build.  Get build failure

What version of the product are you using? On what operating system?
Subversion repository as of 3 Feb 2009, 8:45 pm Central time

Please provide any additional information below.
[ERROR] BUILD FAILURE
[INFO] ---------------------------------------------------------------------

---
[INFO] Compilation failure

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[17,24] package 
javax.xml.stream does 
not exist

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[18,24] package 
javax.xml.stream does 
not exist

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[19,31] package 
javax.xml.stream.events 
does not exist

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[20,31] package 
javax.xml.stream.events 
does not exist

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[21,24] package 
javax.xml.stream does 
not exist

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/Util.java:[88,22] cannot find symbol
symbol  : constructor 
IOException(java.lang.String,java.nio.charset.MalformedInputException)
location: class java.io.IOException

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[533,8] cannot find 
symbol
symbol  : class XMLEventReader
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[536,12] cannot find 
symbol
symbol  : class XMLInputFactory
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[536,43] cannot find 
symbol
symbol  : variable XMLInputFactory
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[538,12] cannot find 
symbol
symbol  : class XMLEvent
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[541,12] cannot find 
symbol
symbol  : class StartDocument
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[541,38] cannot find 
symbol
symbol  : class StartDocument
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[544,15] cannot find 
symbol
symbol  : class XMLStreamException
location: class org.wiztools.restclient.XMLUtil

.../Development/restclient/rest-client-read-only/restclient-
lib/src/main/java/org/wiztools/restclient/XMLUtil.java:[552,22] cannot find 
symbol
symbol  : class XMLStreamException
location: class org.wiztools.restclient.XMLUtil

[INFO] ---------------------------------------------------------------------

---
[INFO] For more information, run Maven with the -e switch
[INFO] ---------------------------------------------------------------------

---
[INFO] Total time: 35 seconds
[INFO] Finished at: Tue Feb 03 20:44:04 CST 2009
[INFO] Final Memory: 16M/29M
[INFO] ---------------------------------------------------------------------

---

Original issue reported on code.google.com by Kilohoku...@gmail.com on 4 Feb 2009 at 2:48

GoogleCodeExporter commented 8 years ago
Again, you are using Java 5. RESTClient requires Java 6 to build. Thanks for 
letting
me know, I will try to make atleast the lib module compatible with Java 5.

Original comment by subwiz on 4 Feb 2009 at 5:50

GoogleCodeExporter commented 8 years ago
Switching to Java 6 using the Utiltiies -> Java -> Java Preferences tool in OS 
X does NOT fix the building issue, 
apparently, I;m sorry to say.  Still get the same set of missing symbols.

Original comment by Kilohoku...@gmail.com on 4 Feb 2009 at 6:10

GoogleCodeExporter commented 8 years ago
Further info: java -version produces:

java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)

I tried a mvn clean before the mvn package, but still got the same results.

Original comment by Kilohoku...@gmail.com on 4 Feb 2009 at 6:14

GoogleCodeExporter commented 8 years ago
Vel (added in CC), can you try building it and let us know if there is some 
issue?

Original comment by subwiz on 4 Feb 2009 at 6:48

GoogleCodeExporter commented 8 years ago
Alan, can you verify what you get when you issue this in your command line:

$ javac -version

If it is 1.6.x, you will not face any compilation issues.

Original comment by subwiz on 6 Feb 2009 at 6:54

GoogleCodeExporter commented 8 years ago
Closing issue.

Original comment by subwiz on 10 Feb 2009 at 8:39