Skip to content

BufferedReader not found when compiling #14

@tranzmatt

Description

@tranzmatt

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions