Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with assert

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to compile an application and i am always getting this error.

"assert cannot be resolved to a type"

what can be the problem
 
Anton Uwe
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you are compiling with a java 1.3 compiler or with a newer one with option -source 1.3?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic