Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
c13ed675
Commit
c13ed675
authored
Dec 02, 2020
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单体和微服务启动类加注释
parent
6917e913
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/JeecgOneGUI.java
+1
-1
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/JeecgSystemApplication.java
+4
-1
jeecg-boot/jeecg-cloud-module/jeecg-cloud-system-start/src/main/java/org/jeecg/JeecgSystemCloudApplication.java
+4
-0
No files found.
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/JeecgOneGUI.java
View file @
c13ed675
...
@@ -11,7 +11,7 @@ import org.jeecgframework.codegenerate.window.CodeWindow;
...
@@ -11,7 +11,7 @@ import org.jeecgframework.codegenerate.window.CodeWindow;
*/
*/
public
class
JeecgOneGUI
{
public
class
JeecgOneGUI
{
/** 详细使用手册: http://doc.jeecg.com/
1275846
*/
/** 详细使用手册: http://doc.jeecg.com/
2043919
*/
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
new
CodeWindow
().
pack
();
new
CodeWindow
().
pack
();
}
}
...
...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/JeecgSystemApplication.java
View file @
c13ed675
...
@@ -5,7 +5,6 @@ import org.apache.catalina.Context;
...
@@ -5,7 +5,6 @@ import org.apache.catalina.Context;
import
org.apache.tomcat.util.scan.StandardJarScanner
;
import
org.apache.tomcat.util.scan.StandardJarScanner
;
import
org.jeecg.common.util.oConvertUtils
;
import
org.jeecg.common.util.oConvertUtils
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory
;
import
org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory
;
...
@@ -17,8 +16,12 @@ import org.springframework.core.env.Environment;
...
@@ -17,8 +16,12 @@ import org.springframework.core.env.Environment;
import
java.net.InetAddress
;
import
java.net.InetAddress
;
import
java.net.UnknownHostException
;
import
java.net.UnknownHostException
;
/**
* 单体启动类(采用此类启动项目为单体模式)
*/
@Slf4j
@Slf4j
@SpringBootApplication
@SpringBootApplication
//@EnableAutoConfiguration(exclude={org.activiti.spring.boot.SecurityAutoConfiguration.class})
public
class
JeecgSystemApplication
extends
SpringBootServletInitializer
{
public
class
JeecgSystemApplication
extends
SpringBootServletInitializer
{
@Override
@Override
...
...
jeecg-boot/jeecg-cloud-module/jeecg-cloud-system-start/src/main/java/org/jeecg/JeecgSystemCloudApplication.java
View file @
c13ed675
...
@@ -17,6 +17,10 @@ import org.springframework.core.env.Environment;
...
@@ -17,6 +17,10 @@ import org.springframework.core.env.Environment;
import
java.net.InetAddress
;
import
java.net.InetAddress
;
import
java.net.UnknownHostException
;
import
java.net.UnknownHostException
;
/**
* 微服务启动类(采用此类启动项目为微服务模式)
* 注意: 需要先在naocs里面创建配置文件,参考文档 http://doc.jeecg.com/2043906
*/
@Slf4j
@Slf4j
@SpringBootApplication
@SpringBootApplication
@EnableFeignClients
(
basePackages
=
{
"org.jeecg"
})
@EnableFeignClients
(
basePackages
=
{
"org.jeecg"
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment