美文网首页
idea使用问题总结

idea使用问题总结

作者: 修远路 | 来源:发表于2018-08-30 15:13 被阅读0次

0.java等文件编译问题
如:

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):xxx

在pom.xml中build节点下面添加:

<!-- compile -->
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.xml</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.*</include>
                </includes>
            </resource>
            <resource>
                <directory>src/main/webapp</directory>
                <targetPath>META-INF/resources</targetPath>
                <includes>
                    <include>**/*.*</include>
                </includes>
            </resource>
        </resources>
System.out.println(str);

快捷键

str.sout

智能提示

2.springboot项目 热部署
pom中添加devtools依赖

        <!-- 启动热部署 -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <optional>true</optional>
        </dependency>
bulid之后生效

偶尔修改后不生效则需要重启项目。

相关文章

  • idea使用问题总结

    0.java等文件编译问题如: org.apache.ibatis.binding.BindingExceptio...

  • idea 使用问题总结

    一.问题 Module ** must not contain source root **. The root ...

  • IDEA使用的问题总结

    1. IDEA Gradle Jetty插件如何debug 1.在VM options增加以下参数: 增加参数.p...

  • Idea重构

    Intellij idea使用教程与心得 Intellij idea的调试总结 Idea重构 IDEA模板与对比

  • Intellij Idea乱码解决方案都在这里了

    乱码场景 使用Intellij Idea经常遇到乱码问题,可以总结为以下几类乱码的场景。 1、工程代码乱码。 2、...

  • Intellij Idea乱码解决方案

    乱码场景 使用Intellij Idea经常遇到乱码问题,可以总结为以下几类乱码的场景。 1、工程代码乱码。 2、...

  • 解决'Warning:Unable to make the mo

    环境 Intellij IDEA 2019.3 使用Gradle 一、问题描述 在正常使用IDEA打开Gradle...

  • IDEA使用总结

    IDEA常用设置 在我们第一眼看见IDEA是这个样子的: 显示工具条 我们要显示工具条!,两个按钮哦 黑色主体 我...

  • IDEA使用总结

    IDEA简介 借用百度百科的: IDEA 全称IntelliJ IDEA,是Java语言开发的集成环境,Intel...

  • IDEA使用总结

    1. IDEA内存优化 先看看你机器本身的配置而配置. \IntelliJ IDEA 8\bin\idea.exe...

网友评论

      本文标题:idea使用问题总结

      本文链接:https://www.haomeiwen.com/subject/cvtdwftx.html