Can't import logmx.jar

Here developers can talk about how to write a Parser for LogMX

Moderator: admin

Post Reply
column
Posts: 6
Joined: Thu Aug 13, 2015 8:24 pm

Can't import logmx.jar

Post by column »

Hello,

Trying to create custom parser in Java Eclipse project. Trying to import classes from logmx.jar:

Code: Select all

package log;

import com.lightysoft.logmx.business.ParsedEntry;
import com.lightysoft.logmx.mgr.LogFileParser;


public class aaa {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
Got error while build:

Code: Select all

Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for C:\LogMX_v8.3.0_pro\lib\logmx-goto-source.jar
Caused by: java.lang.IllegalArgumentException: logmx.goto.source: Invalid module name: 'goto' is not a Java identifier
admin
Site Admin
Posts: 556
Joined: Sun Dec 17, 2006 10:30 pm

Re: Can't import logmx.jar

Post by admin »

Hello,

Seems like a Java 9 (or higher) issue. Since LogMX is still backwards-compatible with Java 8, you can either try to build with Java 8, or check out this maybe: https://stackoverflow.com/q/49520858/1149528

Let me know!
Post Reply