0

I'm using STS, (+ sql server driver(mssql), mybatis-spring, mybatis))
my package structure is:

src/main/java >>> com.sunny.myevent.controller *.domain *.persistence *.service
src/main/resources >>> com.sunny.myevent.persistence (Mapper xml files)
src/test/java
src/test/resources

AND

src/main/webapp/resources/...
src/main/WEB-INF/classes
src/main/WEB-INF/spring >>> ./root-context.xml, appServlet/servlet-context.xml
src/main/WEB-INF/views >>> ./web.xml

What can I do to remove pom.xml and convert to spring3 mvc project without maven?

Smern
  • 18,746
  • 21
  • 72
  • 90
Sunny Jeon
  • 17
  • 1
  • 7

1 Answers1

0

When you build with maven, it will dump all the required jars someplace in your build or target directory. If you are creating a web application, then you'll find them all in

WEB-INF/lib

All you need to do is to take the contents of that directory (all the jar files maven puts in their) and paste them into the source folder for your web project:

src/main/WEB-INF/lib

Whatever tool you are using to build and package your app (eclipse, ant, etc), you'll need to make sure that directory is on your class path.

Delete the pom.xml file and you should be good to go.

Robert Moskal
  • 21,737
  • 8
  • 62
  • 86