fix: revert

This commit is contained in:
junjun 2023-10-31 10:56:14 +08:00
parent c4f3b98cef
commit 7609e9a235

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);
}
}