开发者

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

开发者 https://www.devze.com 2023-02-15 07:29 出处:网络
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 fi

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

精彩评论

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

关注公众号