在mssql上运行批处理时出现Java Perl错误

时间:2019-12-14 11:15:35

标签: java sql-server

在mssql上运行批处理时出现Java Perl错误” 开发人员19岁的代码... Cmd提示前:


C:\batch>Rem Run Java program which notifies by email.

C:\batch>set CLASSPATH=PerlTools.jar;.;mail.jar;activation.jar;SIMP_Components.jar;sqljdbc.jar

C:\batch>java Notify notify\report5.txt
Writing to file notify\report5.txt
Fetching notifications.
Done with fetching notifications.

Exception in thread "main" java.lang.IllegalAccessError: class com.oroinc.text.regex.Perl5Compiler tried to access private field com.oroinc.text.regex.CharStringPointer.__offset (com.oroinc.text.regex.Perl5Compiler and com.oroinc.text.regex.CharStringPointer are in unnamed module of loader 'app')
        at com.oroinc.text.regex.Perl5Compiler._getNextChar(Perl5Compiler.java)
        at com.oroinc.text.regex.Perl5Compiler._parseAlternation(Perl5Compiler.java)
        at com.oroinc.text.regex.Perl5Compiler._parseExpression(Perl5Compiler.java)
        at com.oroinc.text.regex.Perl5Compiler.compile(Perl5Compiler.java)
        at com.oroinc.text.perl.Perl5Util.__compilePatterns(Perl5Util.java)
        at com.oroinc.text.perl.Perl5Util.<init>(Perl5Util.java)

        at se.lazybee.simp.SIMP_StoredProcedure.addString(SIMP_StoredProcedure.java:88)
        at Notify.main(Notify.java:195)

任何想法?

0 个答案:

没有答案