Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Metro library and Netbeans 6.9.1

 
Kevin Eddy
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm encountering a NoSuchMethodError on WebFault.class (interface) which is in a Metro 2.0 jar. When I look at the jar in the the netbeans IDE, the missing method, which is named messageName(), does not appear. However, Netbeans is packaging it inside the .war file. I browsed to the jar, found the class, and decompiled it and yes the messageName() method was indeed there.

My question is why is netbeans showing me one set of source code and then packaging another?
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't that the same problem you asked about earlier: http://www.coderanch.com/t/516313/Web-Services/java/NoSuchMethodError ?
 
Kevin Eddy
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lester Burnham wrote:Isn't that the same problem you asked about earlier: http://www.coderanch.com/t/516313/Web-Services/java/NoSuchMethodError ?


It is related yes. However, this question is geared to the IDE (showing one thing, packaging another). I'm actually about to dive into your posting in the Web-Services forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic