0

I have prior experience with working with Struts and Spring MVC frameworks and java applications. At work I received a Java project code which runs as a service on a Linux server, picks files from the server and through axis2 web service it returns some response.

In the config files I see only build.xml in the project. I am a bit confused as what kind of a Java project this is and how do I deploy this code on my local eclipse.

This would really help as I am the only Java resource on the floor and with 1.5 yrs of exp. They expect me to know everything.

user2794362
  • 9
  • 1
  • 4
  • looks like an `ant` built project to me –  Dec 05 '13 at 06:48
  • You can try using File > New > Other, and then select "Java Project from existing Ant Build File" option (available under the Java Project) – Manish Dec 05 '13 at 06:51
  • Thanks for the help guys. I have been able to build the project now by clicking on build.xml -run as- ant build It has created a jar file. But when i deploy the jar file from command prompt it says could not find or load main class. What do I do next. – user2794362 Dec 05 '13 at 07:05
  • The "could not find or load main class" error usually means you have an invalid command line. See [here](http://stackoverflow.com/questions/15626369/how-to-run-java-jar-without-manifest-mf) for some tips. – bgossit Dec 13 '13 at 20:36

0 Answers0