![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
eclipse
云里飞鸟轻轻摇摆
这个作者很懒,什么都没留下…
展开
-
#Sawgger1--SpringMVC集成Swagger
1、SpringMVC集成Swagger (1)依赖引入<dependency><groupId>io.springfox</groupId><artifactId>springfox-swagger2</artifactId><version&am原创 2018-09-16 04:49:10 · 292 阅读 · 0 评论 -
#Sawgger2--SpringBoot集成Swagger
在SpringBoot框架中集成Swagger更加简单,下面是在SpringBoot中集成Swagger的操作流程: (1)引入jar包依赖<!-- 集成swaggerUI --><dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swa...原创 2018-09-16 04:52:36 · 1029 阅读 · 0 评论 -
#springboot--在eclipse中构建springboot项目
1、构建工程 new->spring starter project,进入如下界面: 生成工程后,我们打开pom.xml, 在上面,我们看到jar包依赖管理一栏生成的信息如下:<groupId>com.example</groupId><artifactId>demo</artifactId><version>...原创 2018-09-13 22:15:35 · 127 阅读 · 0 评论 -
#springboot--无法启动主程序,报告 Unregistering JMX-exposed beans on shutdown异常的解决办法
在eclipse中建立springboot程序,运行主程序时报告下面的错误:2018-09-13 22:17:29.360 INFO 394600 --- [ main] com.example.demo.Demo01Application : Starting Demo01Application on 77AOKV0M647RF5R with PID 394...原创 2018-09-13 22:23:25 · 636 阅读 · 0 评论 -
#springboot--springframework.context.ApplicationContextException: Unable to start embedded container
启动springboardboot程序时报告下面的异常:org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: ...原创 2018-09-13 22:35:04 · 1406 阅读 · 0 评论 -
#springboot--Cannot determine embedded database driver class for database type NONE
启动主程序类,报告下面的异常:Cannot determine embedded database driver class for database type NONE原因:这是因为spring boot默认会加载org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration类,DataSourceAut...原创 2018-09-14 01:51:53 · 134 阅读 · 0 评论 -
#eclipse--如何设置Working Set?
1、切换到Java,添加一个Woking Set,如下图所示。 2、命名 3、切换到JavaEE,选择Working Set 4、编辑Working Set 5、添加项目到Working Set 6、按照第4步,选中Working Set,切换到当前Working Set,这样eclipse就只显示刚才添加到该Working Set的工程了,用于管理工程非常方便。...原创 2018-09-15 03:56:02 · 1774 阅读 · 0 评论 -
#Eclipse中使用javap命令打出字节码虚指令(转)
1、Eclipse中Run->External Tools->External Tools Configurations,打开看到如下界面:2、右键点击Program->new,然后出现界面:3、然后配置Location、Working Directory、Arguments:Location:C:\Program Files\Java\jdk1.7.0_80\bin...转载 2019-01-18 02:31:24 · 210 阅读 · 0 评论 -
学会使用debug模式调试代码
在企业开发中,质量和效率显得尤为重要。学会通过debug模式调试代码是每一个开发的必修课。下面我通过一个案例来描述一下如何来调试、跟踪代码。步骤:在接口或方法的入口打上调试端点,如下所示。通过“debug as”运行代码,进入debug代码调试模式。下面介绍几个重要的调试技巧:step into(F5),进入函数内部调试、step over(F6),在当前函数步进调试、step retur...原创 2019-05-15 03:33:33 · 9079 阅读 · 0 评论