错误一:GlassFish Server, deploy, null, false
解决历程:一开始找了很多个博客照着去做,重新配置服务器或者删WEB-INF/web.xml文件,改debugmode = "true"等等都试过了,但是结果都不行,甚至还出现了第二个错误,后来参考了stackoverflow上的一个回答,找到了问题并解决了
解决:参考stackoverflow上的一个回答:
This is just a general summary which indicates that the deployment of the web application has failed due to a bug in the web application itself.
Clues about this bug should be visible in form of an exception before the above line
意思是:这个只是一个总结性的报错,它意味着你的web应用由于应用里面的一个bug所以部署失败了,有关这个bug的线索应该在这条报错之前的日志信息里寻找,然后我就去找了一下我的报错:
严重: Exception while deploying the app [test] : Invalid url Patterns for class ShowHeader: [ /ShowHeader]… Related annotation information: annotation [@javax.servlet.an