Git Product home page Git Product logo

springmvc-mybatis-learning's Issues

部署Tomcat还是运行不了

Connected to server
[2020-03-12 02:45:03,599] Artifact mybatis-spring:Web exploded: Artifact is being deployed, please wait...
12-Mar-2020 14:45:05.392 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。
[2020-03-12 02:45:05,533] Artifact mybatis-spring:Web exploded: Artifact is deployed successfully
[2020-03-12 02:45:05,534] Artifact mybatis-spring:Web exploded: Deploy took 1,935 milliseconds
12-Mar-2020 14:45:13.459 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory 把web 应用程序部署到目录 [E:\apache-tomcat-8.5.51\webapps\manager]
12-Mar-2020 14:45:13.486 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [E:\apache-tomcat-8.5.51\webapps\manager] has finished in [26] ms
···

spring

没有Spring 的吗? 加油

一点小看法

如果引用了别人的文章,还是希望能在文章里注明的,也算是对原创者的一点尊重吧。

Json那一章有两个小坑;

  1. @RequestMapping method 不省略时, ajaxtype注解method 必须匹配,不然会报405错误;
  2. 当输入也是json的时候,当 @RequestMapping method 不省略时, ajaxtype注解method 必须配置为POSTGET的情况会报400的错误.

mapper代理方法的疑惑

最近拜读了您写的文章,略有收获,但发现了一个问题:mybatis学习笔记(4)-开发dao方法.md这篇文章中的mapper代理方法,mapper.xml和mapper.java是在一个包里吧?在SqlMapConfig.xml里面是这样的<mapper resource="mapper/UserMapper.xml" />,但是报错了,错误原因Cause:java.io.IOException: Could not find resource mapper/UserMapper.xml。只有把包名写全才行。如:<mapper resource="com/iot/mybatis/mapper/UserMapper.xml" />。我使用的mybatis版本是3.4.4,求解惑!!!!我还给您发邮件了,请您看看

jar包有问题,jsp标签红色

IDEA导入springmvc项目后,发现jsp标签红色,而且Tomcat7报错404,我还特意去搜了一下 ,jar包没问题。。处理器适配器和处理器映射器也没问题吧。
avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.