✏️ 修正:修复打包后,启动程序日志框架提示缺少javax/naming/NamingException
This commit is contained in:
parent
74ffd70c3a
commit
2c6c88d62c
@ -1,5 +1,9 @@
|
|||||||
module org.jcnc.jnotepad {
|
module org.jcnc.jnotepad {
|
||||||
requires javafx.controls;
|
requires javafx.controls;
|
||||||
|
// 不知道为什么,不加这个,日志框架在打包后的程序不起作用,会报错
|
||||||
|
// Exception in thread "JavaFX Application Thread" java.lang.NoClassDefFoundError: javax/naming/NamingException
|
||||||
|
// 但我打开源代码,他们的模块的确有包含这个,java.naming,这个没懂,我干脆自己导入
|
||||||
|
requires java.naming;
|
||||||
requires atlantafx.base;
|
requires atlantafx.base;
|
||||||
requires com.google.gson;
|
requires com.google.gson;
|
||||||
requires org.slf4j;
|
requires org.slf4j;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user