提交 40c3e15d 编写于 作者: MaxKey单点登录官方's avatar MaxKey单点登录官方

fix

上级 83c0b48d
......@@ -280,10 +280,7 @@ subprojects {
compile group: 'aopalliance', name: 'aopalliance', version: '1.0'
compile group: 'org.aspectj', name: 'aspectjtools', version: '1.9.4'
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: 'xalan', version: '2.7.2'
//compile group: 'xml-apis', name: 'xml-apis', version: '2.0.2'
compile group: 'xalan', name: 'serializer', version: '2.7.2'
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-impl', version: '2.3.0.1'
......
......@@ -13,9 +13,10 @@
</attributes>
</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.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer">
<attributes>
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin/default"/>
......
description = "maxkey-web-manage"
// Apply the java plugin to add support for Java
apply plugin: 'java'
//apply plugin: 'war'
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 {
//local jars
compile fileTree(dir: '../maxkey-lib/', include: '*/*.jar')
compile project(":maxkey-core")
compile project(":maxkey-jose-jwt")
compile project(":maxkey-dao")
......
package org.maxkey;
import java.io.File;
import java.util.Date;
import javax.servlet.ServletException;
......@@ -26,7 +24,6 @@ import org.springframework.context.annotation.ImportResource;
)
public class MaxKeyMgtApplication extends SpringBootServletInitializer {
private static final Logger _logger = LoggerFactory.getLogger(MaxKeyMgtApplication.class);
@Bean
MaxKeyMgtConfig MaxKeyMgtConfig() {
......@@ -34,6 +31,8 @@ public class MaxKeyMgtApplication extends SpringBootServletInitializer {
}
public static void main(String[] args) {
System.out.println("MaxKeyMgtApplication");
ConfigurableApplicationContext applicationContext =SpringApplication.run(MaxKeyMgtApplication.class, args);
InitApplicationContext initWebContext=new InitApplicationContext(applicationContext);
......
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");
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册