开发者社区> 问答> 正文

SPRINGMVC SPRING MYBATIS框架MAVEN开发页面POST报错404?报错

七月 21, 2016 2:27:17 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [spring] in context with path [/chbFront] threw exception [Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [java.io.File]: No default constructor found; nested exception is java.lang.NoSuchMethodException: java.io.File.<init>()] with root cause

java.lang.NoSuchMethodException: java.io.File.<init>()


Failed to load resource: the server responded with a status of 404 (Not Found)
Navigated to http://localhost:8080/chbFront/makeOrder.jsp
makeOrder.jsp:111 POST http://localhost:8080/chbFront/order/uploadFile.do 404 (Not Found)onclick @ makeOrder.jsp:111
Navigated to http://localhost:8080/chbFront/order/uploadFile.do

展开
收起
爱吃鱼的程序员 2020-06-09 13:12:36 577 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    没人,自顶一下是不是jdk的版本不对啊?不是啊,JDK1.7,没问题

    2020-06-09 13:12:52
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载

相关实验场景

更多