GlassFish Server部署错误

错误一: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

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值