ソースを参照

//test

private_deployment
xhxu 2年前
コミット
ec7b15820f
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java

+ 1
- 1
suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java ファイルの表示

@@ -13,7 +13,7 @@ public class LanguageDetect {
private static void initDetector(){
if(detect == null){
try {
DetectorFactory.loadProfile(Thread.currentThread().getContextClassLoader().getResource("profiles").getPath());
DetectorFactory.loadProfile(LanguageDetect.class.getClassLoader().getResource("profiles").getPath());
detect = DetectorFactory.create();
} catch (LangDetectException e) {
e.printStackTrace();


読み込み中…
キャンセル
保存