maven


I am facing HTTP Status 404 – Not Found with maven intigration


I have provided two images one of web.xml and other ine is Deployment assembly, I am using maven in eclipse to run servlet but I am facing 404 error
One of following could have occurred :
Your final artifact structure should comply with J2EE defined structure of deployed assembly. Check the folder .metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ to know if you have following in place (Example app name :myapp):
Myapp/webcontent
Myapp/web-inf/web.xml
Myapp/web-inf/classes
Myapp/web-inf/lib
If this is not the case, modify the deployment assembly accordingly and see if it changes the output file n folder struture.
Check if you see any errors while the tomcat starts in eclipse. Even a single stacktrace should be paid attention and be resolved.
Check if the final war generated with mvn clean install can be deployed successfully in an external tomcat. This will help you identify if there is anything wrong with your web.xml or source code.
Hope this helps.

Related Links

Maven trying to access to unexisting repo
Maven flex project using source directory from seperate module with new artifactId
Maven says I have a cyclic reference in multi-module project but can't figure out why
how to set maven rpm plugin to use bash instead of sh
Maven2: Multiple inheritence or profile selection
After using maven to generate a struts2-archetype-blank project, I get a build error
Maven Include dependencies in Executable Jar
yuicompressor maven plugin and maven-war-plugin
Does it still make sense to use Maven when dependent jars are checked in with source code?
Maven Password Encryption for Other Properties
JBoss/CXF Restful Web Service gives error 'MalformedURLException: no protocol: /'
Can Sonatype Nexus be configured to restrict which artifacts a user can deploy?
Is there a way to capture user input in maven and assign it to a maven property?
Jetty runs correctly via maven, but incorrectly as a jar
Is it possible to define a maven goal with a variable?
How to define the order of executions using maven-assembly-plugin

Categories

HOME
maven
pandas
listview
activiti
ngrx
path-finding
fft
getelementsbytagname
programming-languages
electronics
win32gui
acquia
swagger-ui
portia
synchronization
qt-creator
google-cloud-spanner
quartz-scheduler
lombok
aurigma
ab-testing
dbext
crystal-reports-2010
xpages-ssjs
semantic-analysis
rst2pdf
greendao
wtx
unboundid
gsoap
http-status-code-503
create-table
android-nestedscrollview
mapdb
ios5
restlet
withings
tasker
optix
elmah
google-closure
gpx
segment
prolog-setof
multipeer-connectivity
python-c-api
clean-architecture
winscp-net
slickedit
sqlclient
savon
home-directory
nsfilemanager
qpid
lttng
holder.js
hill-climbing
testng-dataprovider
kendonumerictextbox
tcpserver
lemon
sdhc
endeca-workbench
collapse
security-testing
kcachegrind
ios9.1
composite
graph-api-explorer
apache-commons-net
pick
android-imagebutton
client-side-templating
markers
php-5.4
starcluster
transcoding
resty-gwt
message-driven-bean
multiprocessor
ms-project-server-2010
aqtime
tidy
shellexecute
chuck
frameset
hgsubversion
adk
vdsp
servicehost
table-footer
dentrix
mirah
user-friendly
post-build
ntvdm.exe

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App