mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
fix
This commit is contained in:
parent
83c0b48d23
commit
40c3e15d9b
@ -280,10 +280,7 @@ subprojects {
|
|||||||
compile group: 'aopalliance', name: 'aopalliance', version: '1.0'
|
compile group: 'aopalliance', name: 'aopalliance', version: '1.0'
|
||||||
compile group: 'org.aspectj', name: 'aspectjtools', version: '1.9.4'
|
compile group: 'org.aspectj', name: 'aspectjtools', version: '1.9.4'
|
||||||
compile group: 'dom4j', name: 'dom4j', version: '1.6.1'
|
compile group: 'dom4j', name: 'dom4j', version: '1.6.1'
|
||||||
//compile group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.2'
|
compile group: 'xalan', name: 'serializer', version: '2.7.2'
|
||||||
//compile group: 'xalan', name: 'serializer', version: '2.7.2'
|
|
||||||
//compile group: 'xalan', name: 'xalan', version: '2.7.2'
|
|
||||||
//compile group: 'xml-apis', name: 'xml-apis', version: '2.0.2'
|
|
||||||
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
|
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
|
||||||
compile group: 'javax.xml.bind', name: 'jaxb-core', version: '2.3.0.1'
|
compile group: 'javax.xml.bind', name: 'jaxb-core', version: '2.3.0.1'
|
||||||
compile group: 'javax.xml.bind', name: 'jaxb-impl', version: '2.3.0.1'
|
compile group: 'javax.xml.bind', name: 'jaxb-impl', version: '2.3.0.1'
|
||||||
|
|||||||
@ -13,9 +13,10 @@
|
|||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="output" path="bin/default"/>
|
<classpathentry kind="output" path="bin/default"/>
|
||||||
|
|||||||
@ -1,12 +1,22 @@
|
|||||||
description = "maxkey-web-manage"
|
description = "maxkey-web-manage"
|
||||||
|
|
||||||
|
// Apply the java plugin to add support for Java
|
||||||
|
apply plugin: 'java'
|
||||||
//apply plugin: 'war'
|
//apply plugin: 'war'
|
||||||
apply plugin: 'eclipse-wtp'
|
apply plugin: 'eclipse-wtp'
|
||||||
|
apply plugin: 'com.bmuschko.tomcat-base'
|
||||||
|
apply plugin: 'com.bmuschko.tomcat'
|
||||||
|
|
||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath "com.bmuschko:gradle-tomcat-plugin:2.2.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
//local jars
|
|
||||||
compile fileTree(dir: '../maxkey-lib/', include: '*/*.jar')
|
|
||||||
|
|
||||||
compile project(":maxkey-core")
|
compile project(":maxkey-core")
|
||||||
compile project(":maxkey-jose-jwt")
|
compile project(":maxkey-jose-jwt")
|
||||||
compile project(":maxkey-dao")
|
compile project(":maxkey-dao")
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
package org.maxkey;
|
package org.maxkey;
|
||||||
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
@ -27,13 +25,14 @@ import org.springframework.context.annotation.ImportResource;
|
|||||||
public class MaxKeyMgtApplication extends SpringBootServletInitializer {
|
public class MaxKeyMgtApplication extends SpringBootServletInitializer {
|
||||||
private static final Logger _logger = LoggerFactory.getLogger(MaxKeyMgtApplication.class);
|
private static final Logger _logger = LoggerFactory.getLogger(MaxKeyMgtApplication.class);
|
||||||
|
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
MaxKeyMgtConfig MaxKeyMgtConfig() {
|
MaxKeyMgtConfig MaxKeyMgtConfig() {
|
||||||
return new MaxKeyMgtConfig();
|
return new MaxKeyMgtConfig();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
System.out.println("MaxKeyMgtApplication");
|
||||||
|
|
||||||
ConfigurableApplicationContext applicationContext =SpringApplication.run(MaxKeyMgtApplication.class, args);
|
ConfigurableApplicationContext applicationContext =SpringApplication.run(MaxKeyMgtApplication.class, args);
|
||||||
InitApplicationContext initWebContext=new InitApplicationContext(applicationContext);
|
InitApplicationContext initWebContext=new InitApplicationContext(applicationContext);
|
||||||
|
|
||||||
|
|||||||
10
maxkey-web-manage/src/main/java/org/maxkey/T.java
Normal file
10
maxkey-web-manage/src/main/java/org/maxkey/T.java
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
package org.maxkey;
|
||||||
|
|
||||||
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
||||||
|
|
||||||
|
public class T extends SpringBootServletInitializer {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
System.out.println("MaxKeyMgtApplication");
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user