SweetInk / jrebel-mybatisplus

A hook plugin for Support MybatisPlus that reloads modified SQL maps.
MIT License
171 stars 32 forks source link

没有看到任何效果. #1

Closed JsonSong89 closed 5 years ago

JsonSong89 commented 5 years ago

你好,我编译后 这样配置. image 但是没有任何效果, 我在控制台搜了下,也没找到 LoggerFactory.getLogger("MyBatisPlus").info("Ready config jrebel mybatisplus plugins..."); 这句话对应的日志.

在jrebel日志里面找到如下内容,说明jar包配置应该是没错的:

2019-05-21 20:16:55.214 INFO [rebel-notificationServer-jr-mybatisplus0] o.z.j.i.c.n.NotificationServer - Using socket: ServerSocket[addr=localhost/127.0.0.1,localport=63123] for notification server. 2019-05-21 20:16:55.475 INFO [ApplicationImpl pooled thread 1215] c.z.j.i.p.x.e.ExternalAutoConvert - ExternalAutoConvert is disabled: false 2019-05-21 20:16:55.476 INFO [ApplicationImpl pooled thread 1215] o.z.j.c.f.e.SharedExternalAutoConvert - Found 0 total -> 0 no-autoconvert=false -> 0 ide-gen -> 0 time-permitted => 0 candidate 2019-05-21 20:16:56.903 INFO [AWT-EventQueue-0] c.z.j.i.p.f.JRebelFacetSyncComponent - New module jr-mybatisplus added in project jr-mybatisplus, check for facets 2019-05-21 20:16:56.904 INFO [AWT-EventQueue-0] o.z.j.i.c.f.h.HybrisDetectionUtil - Looking for Hybris platform directory from D:\code\demo\java\jrebel-mybatisplus 2019-05-21 20:18:24.523 INFO [AWT-EventQueue-0] o.z.j.i.c.f.h.HybrisDetectionUtil - Looking for Hybris platform directory from D:\code\demo\java\jrebel-mybatisplus 2019-05-21 20:18:28.574 INFO [AWT-EventQueue-0 [WriteAccessToken]] o.z.j.i.c.f.h.HybrisDetectionUtil - Looking for Hybris platform directory from D:\code\demo\java\jrebel-mybatisplus 2019-05-21 20:20:17.679 INFO [AWT-EventQueue-0] c.z.http.proxy.HttpProxyHolder - Save licensing proxy settings from class com.zeroturnaround.javarebel.idea.plugin.settings.IntellijProxyProvider to preferences: null 2019-05-21 20:20:17.682 INFO [AWT-EventQueue-0] c.z.http.proxy.HttpProxyHolder - Save mixpanel proxy settings from class com.zeroturnaround.javarebel.idea.plugin.settings.IntellijProxyProvider to preferences: null 2019-05-21 20:20:17.684 INFO [AWT-EventQueue-0] c.z.http.proxy.HttpProxyHolder - Save generic proxy settings from class com.zeroturnaround.javarebel.idea.plugin.settings.IntellijProxyProvider to preferences: null 2019-05-21 20:20:17.688 INFO [AWT-EventQueue-0] o.z.j.client.args.LaunchingArgs - can use native agent: true 2019-05-21 20:20:17.689 INFO [AWT-EventQueue-0] c.z.j.i.p.r.a.ProjectsPathProvider - Collecting project paths took 0 seconds, 0 projects ids collected

可能是哪里的问题呢?

SweetInk commented 5 years ago

@JsonSong89 Jrebel的日志文件应该在user_home/.jrebel/jrebel.log LoggerFactory.getLogger("MyBatisPlus").info("Ready config jrebel mybatisplus plugins..."); 这个日志应输出在上述日志文件,而不是应用程序的控制台中.

JsonSong89 commented 5 years ago

我是找的user_home/.jrebel/jrebel.log这个日志.

SweetInk commented 5 years ago

我是找的user_home/.jrebel/jrebel.log这个日志.

你的日志文件有看到Ready config jrebel mybatisplus plugins..这个日志输出吗?