Gideon

Terminal Error Message
 avatar
Gideon
java
2 years ago
20 kB
3
Indexable
Never
innoc@DESKTOP-2SI66DP MINGW64 ~/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-master (master)
$ cd starter                                                                                                        

innoc@DESKTOP-2SI66DP MINGW64 ~/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-master/starter (master)
$ cd webcrawler                                                                                                             

innoc@DESKTOP-2SI66DP MINGW64 ~/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-master/starter/webcrawler (master)
$ mvn package                                                                                                                          
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.udacity.webcrawler:udacity-webcrawler:jar:1.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 75, column 21          
[WARNING]                                                                                                                        
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.                      
[WARNING]                                                                                                                        
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.                       
[WARNING]                                                                                                                        
[INFO]                                                                         
[INFO] -------------< com.udacity.webcrawler:udacity-webcrawler >--------------
[INFO] Building udacity-webcrawler 1.0                                         
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ udacity-webcrawler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\innoc\Downloads\cd0381-advanced-java-programming-techniques-projectstarter-master\starter\webcrawler\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ udacity-webcrawler ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ udacity-webcrawler ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\innoc\Downloads\cd0381-advanced-java-programming-techniques-projectstarter-master\starter\webcrawler\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ udacity-webcrawler ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ udacity-webcrawler ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.udacity.webcrawler.json.ConfigurationLoaderTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.383 s - in com.udacity.webcrawler.json.ConfigurationLoaderTest
[INFO] Running com.udacity.webcrawler.json.CrawlResultWriterTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 s - in com.udacity.webcrawler.json.CrawlResultWriterTest
[INFO] Running com.udacity.webcrawler.ParallelWebCrawlerTest
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/innoc/.m2/repository/com/google/inject/guice/4.2.3/guice-4.2.3.jar) to 
method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future release
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.526 s - in com.udacity.webcrawler.ParallelWebCrawlerTest
[INFO] Running com.udacity.webcrawler.parser.PageParserImplTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.128 s - in com.udacity.webcrawler.parser.PageParserImplTest
[INFO] Running com.udacity.webcrawler.profiler.ProfilerImplTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s - in com.udacity.webcrawler.profiler.ProfilerImplTest
[INFO] Running com.udacity.webcrawler.SequentialWebCrawlerTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s - in com.udacity.webcrawler.SequentialWebCrawlerTest
[INFO] Running com.udacity.webcrawler.WebCrawlerTest
[INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.952 s - in com.udacity.webcrawler.WebCrawlerTest
[INFO] Running com.udacity.webcrawler.WordCountsTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in com.udacity.webcrawler.WordCountsTest
[INFO] 
[INFO] Results:
[INFO]
[INFO] Tests run: 38, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ udacity-webcrawler ---
[INFO] 
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (default) @ udacity-webcrawler ---
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.google.guava/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] com/google/common/ already added, skipping
[INFO] com/google/common/util/ already added, skipping
[INFO] com/google/common/util/concurrent/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.google.guava/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] javax/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] com/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] META-INF/services/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] module-info.class already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] module-info.class already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] Building jar: C:\Users\innoc\Downloads\cd0381-advanced-java-programming-techniques-projectstarter-master\starter\webcrawler\target\udacity-webcrawler-1.0.jar
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.google.guava/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] com/google/common/ already added, skipping
[INFO] com/google/common/util/ already added, skipping
[INFO] com/google/common/util/concurrent/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.google.guava/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] javax/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] com/ already added, skipping
[INFO] com/google/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] com/ already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/NOTICE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] META-INF/services/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] module-info.class already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/maven/com.fasterxml.jackson.core/ already added, skipping
[INFO] com/ already added, skipping
[INFO] com/fasterxml/ already added, skipping
[INFO] com/fasterxml/jackson/ already added, skipping
[INFO] module-info.class already added, skipping
[INFO] META-INF/MANIFEST.MF already added, skipping
[INFO] META-INF/ already added, skipping
[INFO] org/ already added, skipping
[INFO] META-INF/maven/ already added, skipping
[INFO] META-INF/LICENSE already added, skipping
[WARNING] Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing.
Instead of attaching the assembly file: C:\Users\innoc\Downloads\cd0381-advanced-java-programming-techniques-projectstarter-master\starter\webcrawler\target\udacity-webcrawler-1.0.jar, it
 will become the file for main project artifact.
NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!
[WARNING] Replacing pre-existing project main-artifact file: C:\Users\innoc\Downloads\cd0381-advanced-java-programming-techniques-projectstarter-master\starter\webcrawler\target\udacity-w
ebcrawler-1.0.jar
with assembly file: C:\Users\innoc\Downloads\cd0381-advanced-java-programming-techniques-projectstarter-master\starter\webcrawler\target\udacity-webcrawler-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15.197 s
[INFO] Finished at: 2022-04-12T16:54:18+01:00
[INFO] ------------------------------------------------------------------------

innoc@DESKTOP-2SI66DP MINGW64 ~/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-master/starter/webcrawler (master)
$ java -classpath target/udacity-webcrawler-1.0.jar com.udacity.webcrawler.main.WebCrawlerMain src/main/config/sample_config.json
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/innoc/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-mast
er/starter/webcrawler/target/udacity-webcrawler-1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
{"wordCounts":{},"urlsVisited":1}java.nio.file.AccessDeniedException: 
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
        at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
        at java.base/java.nio.file.Files.newOutputStream(Files.java:224)
        at java.base/java.nio.file.Files.newBufferedWriter(Files.java:2997)
        at com.udacity.webcrawler.profiler.ProfilerImpl.writeData(ProfilerImpl.java:59)
        at com.udacity.webcrawler.main.WebCrawlerMain.run(WebCrawlerMain.java:55)
        at com.udacity.webcrawler.main.WebCrawlerMain.main(WebCrawlerMain.java:66)

innoc@DESKTOP-2SI66DP MINGW64 ~/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-master/starter/webcrawler (master)
$ java -classpath target/udacity-webcrawler-1.0.jar com.udacity.webcrawler.main.WebCrawlerMain src/main/config/sample_config.json
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/innoc/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-mast
er/starter/webcrawler/target/udacity-webcrawler-1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
{"wordCounts":{},"urlsVisited":1}java.nio.file.AccessDeniedException: 
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
        at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
        at java.base/java.nio.file.Files.newOutputStream(Files.java:224)
        at java.base/java.nio.file.Files.newBufferedWriter(Files.java:2997)
        at com.udacity.webcrawler.profiler.ProfilerImpl.writeData(ProfilerImpl.java:59)
        at com.udacity.webcrawler.main.WebCrawlerMain.run(WebCrawlerMain.java:55)
        at com.udacity.webcrawler.main.WebCrawlerMain.main(WebCrawlerMain.java:66)

innoc@DESKTOP-2SI66DP MINGW64 ~/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-master/starter/webcrawler (master)
$ java -classpath target/udacity-webcrawler-1.0.jar com.udacity.webcrawler.main.WebCrawlerMain src/main/config/sample_config.json
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/innoc/Downloads/cd0381-advanced-java-programming-techniques-projectstarter-mast
er/starter/webcrawler/target/udacity-webcrawler-1.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
{"wordCounts":{"udacity":16,"transformation":11,"talent":10,"enterprise":9,"business":9},"urlsVisited":5}java.nio.file.AccessDeniedException: 
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:235)
        at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
        at java.base/java.nio.file.Files.newOutputStream(Files.java:224)
        at java.base/java.nio.file.Files.newBufferedWriter(Files.java:2997)
        at com.udacity.webcrawler.profiler.ProfilerImpl.writeData(ProfilerImpl.java:59)
        at com.udacity.webcrawler.main.WebCrawlerMain.run(WebCrawlerMain.java:55)
        at com.udacity.webcrawler.main.WebCrawlerMain.main(WebCrawlerMain.java:66)