开发者

how to know which line of jar file error out while running it in jboss?

i am executing some jar file in my tibco process deployed on jboss server. so my q开发者_StackOverflow社区uestion is if any of the jar file errors out how can i know which line or method of the jar file errored out?


Your question is exceptionally vague, but in general, errors in Java are handled using Exceptions, so you should look at your log files for a stacktrace which will give you all of the class and line information about where the error occurred.


If the jar has source code attached then you could find out exactly where the error lies.

JARs themselves have exception handling setup, which then prints the Error messages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜