java-junit-sample's People
Forkers
glazfehler fpoyer dip-kush shiyi0119 vietkhuong dalitestgit jyotiraj007 muneshwar brucezu terribleherbst angraell mstewa33 jalaramsuthar shambhukr ftadlere sagar221 jmarcopolo ravikode aspineon mike-podolskiy90 anand1794 cumaha minhnhut0602 rickysilas aims145 bm-sushma sahanurmondal anilp02 srinivasjava27 fullstacklegend deepthimogaparthi maheshwagh1402 shkgithub skyney17 geet-forked-projects durganaidu191604 luanta-csun tscomitre ashwins21 ishara-r bouerghi mhajira shyam96 dadandawud mfhoss carolinesousateixeira majabae5 sothasill wsieniawski jacekpaul tomusz skitekm henryk-bender apaul44 mubeenskillorbit basava12345 pavel-vovk arvi1123 jeffb2 gitcgi leaddevops nguyenthedan sudheersahu prameelabellam hatrunguet98 natansil mahesh0790 sairaju23 jay0307p arko489 feilongaa jeetendave259 murali535 vamsikrishnakukati schikkavarapuyahoo minshi123 mohansairam423 smummad2-ford devops-sujeet shweta9651 soumyashetagar pathik119 chiragvasani36 asifurrouf-dsi saranya5 roadtoclouds raphitz worldregalia omprasadnayak cheonvi1004 mbelouch anbui raysaini19 elohimtenorio jenkinspoc-design chandra-ashish mesce09 mlamlu vprashanth777 shashwath-mjava-junit-sample's Issues
CustomerServiceTest.java:[9,30] package com.sun.jndi.cosnaming does not exist
java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.18.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.18.04, mixed mode, sharing)
mvn -v
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-19041-microsoft", arch: "amd64", family: "unix"
mvn clean compile
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.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
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< de.codecentric.sample:junitsample >------------------
[INFO] Building junitsample 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ junitsample ---
[INFO] Deleting /home/apatsev/github/java-junit-sample/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ junitsample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/apatsev/github/java-junit-sample/src/main/resources
[INFO] skip non existing resourceDirectory /home/apatsev/github/java-junit-sample/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ junitsample ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/apatsev/github/java-junit-sample/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.692 s
[INFO] Finished at: 2021-11-17T14:39:39+06:00
mvn clean test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.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
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< de.codecentric.sample:junitsample >------------------
[INFO] Building junitsample 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ junitsample ---
[INFO] Deleting /home/apatsev/github/java-junit-sample/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ junitsample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/apatsev/github/java-junit-sample/src/main/resources
[INFO] skip non existing resourceDirectory /home/apatsev/github/java-junit-sample/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ junitsample ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to /home/apatsev/github/java-junit-sample/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ junitsample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/apatsev/github/java-junit-sample/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ junitsample ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /home/apatsev/github/java-junit-sample/target/test-classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /home/apatsev/github/java-junit-sample/src/test/java/com/codecentric/sample/store/service/ItemServiceTest.java: /home/apatsev/github/java-junit-sample/src/test/java/com/codecentric/sample/store/service/ItemServiceTest.java uses unchecked or unsafe operations.
[WARNING] /home/apatsev/github/java-junit-sample/src/test/java/com/codecentric/sample/store/service/ItemServiceTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/apatsev/github/java-junit-sample/src/test/java/com/codecentric/sample/store/service/CustomerServiceTest.java:[9,30] package com.sun.jndi.cosnaming does not exist
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.916 s
[INFO] Finished at: 2021-11-17T14:40:43+06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project junitsample: Compilation failure
[ERROR] /home/apatsev/github/java-junit-sample/src/test/java/com/codecentric/sample/store/service/CustomerServiceTest.java:[9,30] package com.sun.jndi.cosnaming does not exist
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.