-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run war file on tomcat 8 #313
Comments
What do you expect ?
Which URL ? Don't forget root context path in the URL if you didn't install your WAR as root context. |
@dlecan When we create jar files.. it includes classes so that we can use jar files on any other system. But in here i didnt got any class. I checked that now its working for GET requests |
All classes are packaged as jar files, even your Scala files (look at something like
Great !
If you need help, you have to give us more information: error code, exception ... |
In my POST request, i have to send JSON text to tomcat server.Where should i write this JSON text in tomcat server. I mean just like postman we can send data in body while making request. How can i do that in play framework and deploy it to tomcat |
HI i have made rest api in scala using play framework. My Routes files include"
Now I added Play2War in my 2.4.1 Play framework. My Build.sbt include
My Plugins.sbt includes
In play framework , we dont need web.xml. Routes does all the work.
i am able to build war file.. but it includes only lib folder..i mean no classes are there. I copy pasted it in the webapps folder of tomcat and deployed it. But it gives me Action Not found error. Please can you help me with this. What am i missing ?
The text was updated successfully, but these errors were encountered: