Merge pull request #6444 from dataease/pr@dev@fix_main

fix: revert
This commit is contained in:
Junjun
2023-10-31 10:57:05 +08:00
committed by GitHub

View File

@@ -9,12 +9,16 @@ import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;
import java.io.UnsupportedEncodingException;
@EnableCaching
@SpringBootApplication(exclude = {
QuartzAutoConfiguration.class,
LdapAutoConfiguration.class
})
@ServletComponentScan
@EnableScheduling
@PropertySource(value = {"file:/opt/dataease/conf/dataease.properties"}, encoding = "UTF-8", ignoreResourceNotFound = true)
public class Application {
public static void main(String[] args) throws UnsupportedEncodingException {
String s = new String("鍓嶆璇锋眰 AMapUI 澶辫触".getBytes("GBK"),"utf-8");
System.out.println(s);
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}