• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

java.lang.NoClassDefFoundError thrown by TestNG  RSS feed

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Class Not Found Exception is thrown by TestNG and the tests are all failing while running the TestNG Batch file. Any ideas, please ?

 
Marshal
Posts: 60816
190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure, but let's work out which class is missing first. Sort out one problem at a time. Is it RestAssured or WorkBook? I am not sure whether that is thrown when you start your application or by the testing program, but I suggest you work out where the class has gone.
 
Arya Ramanujan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Not sure, but let's work out which class is missing first. Sort out one problem at a time. Is it RestAssured or WorkBook? I am not sure whether that is thrown when you start your application or by the testing program, but I suggest you work out where the class has gone.



I have all the jar files in my lib folder and the bin folder contains all the .class files in it. Couldn't figure why that problem is occurring !
 
Arya Ramanujan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deleted the jars from the classpath and added them again to the classpath changing all jars into one directory. Now, the Eclipse throwing weird errors like as attached.
I have tried much and is just going nowhere.

SE-Binary-not-responding.png
[Thumbnail for SE-Binary-not-responding.png]
SE Binary not responding
Out-of-Memory-Exception.png
[Thumbnail for Out-of-Memory-Exception.png]
Out of Memory Exception
Indexer-Crash-Recovery.png
[Thumbnail for Indexer-Crash-Recovery.png]
Indexer Crash Recovery
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any can find where is the error?
 
Arya Ramanujan
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting the the following error and are all attached in the previous thread.

- Initially, the Eclipse Oxygen 2 (64 bit) - threw the Java(TM) Platform SE binary is not responding error. It prompted to me to either close the application or wait until it responds.
- I have waited until it responds and found another error with out of memory and suggesting to close the application.
- When I refused to close the application, it displayed the error with Background Indexer Crash Recovery for Java heap space.

The Eclipse's log file log the following info. I do not know what is the fix for it.

!SESSION 2018-09-12 10:11:15.065 -----------------------------------------------
eclipse.buildId=4.7.3.M20180330-0640
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY com.ibm.issw.migr.osgi.liberty 4 0 2018-09-12 10:11:24.541
!MESSAGE Component descriptor entry 'wsadmin.xml' not found

!ENTRY com.ibm.issw.migr.osgi.wasconfig 4 0 2018-09-12 10:11:24.541
!MESSAGE Component descriptor entry 'cell.xml' not found

!ENTRY com.ibm.issw.migr.osgi.wasconfig.jboss 4 0 2018-09-12 10:11:24.572
!MESSAGE Component descriptor entry 'component.xml' not found

!ENTRY com.ibm.issw.migr.osgi.wasconfig.was 4 0 2018-09-12 10:11:24.572
!MESSAGE Component descriptor entry 'cell.xml' not found

!ENTRY com.ibm.issw.migr.osgi.wasconfig.wls 4 0 2018-09-12 10:11:24.572
!MESSAGE Component descriptor entry 'cell.xml' not found

!ENTRY com.ibm.issw.migr.osgi.wsadmin 4 0 2018-09-12 10:11:24.572
!MESSAGE Component descriptor entry 'wsadmin.xml' not found

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!