Skip to content

PR #1228

PR #1228 #366

GitHub Actions / JUnit Test Report failed Jan 15, 2025 in 0s

425 tests run, 374 passed, 50 skipped, 1 failed.

Annotations

Check failure on line 112 in grobid-core/src/test/java/org/grobid/core/analyzers/GrobidAnalyzerTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

GrobidAnalyzerTest.testTokenize_Chinese

java.lang.NoClassDefFoundError: org/apache/lucene/analysis/cn/smart/SentenceTokenizer
Raw output
java.lang.NoClassDefFoundError: org/apache/lucene/analysis/cn/smart/SentenceTokenizer
	at org.grobid.nlp.textboundaries.ReTokenizer.<init>(ReTokenizer.java:70)
	at org.grobid.nlp.textboundaries.ReTokenizer.<init>(ReTokenizer.java:51)
	at org.grobid.nlp.textboundaries.ReTokenizerFactory.create(ReTokenizerFactory.java:19)
	at org.grobid.core.analyzers.GrobidAnalyzer.tokenize(GrobidAnalyzer.java:97)
	at org.grobid.core.analyzers.GrobidAnalyzerTest.testTokenize_Chinese(GrobidAnalyzerTest.java:112)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.cn.smart.SentenceTokenizer
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
	... 6 more