-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I tried building m8b with the maven method using openjdk 8 in a conda environment and got the following;
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project m8b: Compilation failure
[ERROR] /home/bob/Wigle/m8b/src/main/java/net/wigle/m8b/m8b.java:[607,37] cannot find symbol
[ERROR] symbol: class BufferedReader
[ERROR] location: class net.wigle.m8b.m8b
[ERROR]
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project m8b: Compilation failure
/secret/mclark/Code/SDR/Wigle/m8b/src/main/java/net/wigle/m8b/m8b.java:[607,37] cannot find symbol
symbol: class BufferedReader
location: class net.wigle.m8b.m8b
The following fixed it, but I don't know if I was doing something wrong otherwise or if this is the best solution.
--- a/src/main/java/net/wigle/m8b/m8b.java
+++ b/src/main/java/net/wigle/m8b/m8b.java
@@ -2,6 +2,7 @@ package net.wigle.m8b;
import java.io.File;
import java.io.InputStream;
+import java.io.*;
import java.nio.charset.Charset;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels