无法在Eclipse中安装断点:缺少行号信息 [英] Unable to install breakpoint in Eclipse: Absent Line Number Information

查看:203
本文介绍了无法在Eclipse中安装断点:缺少行号信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Java 1.6.0 Web应用程序,正在使用Kepler版本2 Eclipse开发环境进行开发.我正在使用Oracle Weblogic Server管理控制台12c.

I have a Java 1.6.0 web application that I am developing using a Kepler Version 2 Eclipse development environment. I am using an Oracle Weblogic Server Administration Console 12c.

我正在本地运行该应用程序-并尝试对其进行调试.而不是在我设置的任何断点处停止-我得到以下错误:

I'm running the app locally - and trying to debug it. Instead of stopping at any of the breakpoints I've set - I get the following error:

将应用程序安装到Weblogic时,我运行Weblogic控制台,然后通过添加ear文件来安装该应用程序.

When I installed the application to Weblogic, I ran the Weblogic console and then installed the application by adding the ear file.

我以为我所做的所有事情都与以前以这种方式完成的Web应用程序完全相同-但我始终能够调试那些应用程序.

I thought I did everything exactly the same as previous web applications I've done this way - but I was always able to debug those applications.

也-另一件事是不同的.进行任何更改并重新构建ear文件时,实际上我必须从Weblogic控制台中删除并重新安装才能进行更改.我想这可能是相关的.

Also - one other thing that is different. When make any changes and re-build the ear file - I actually have to delete and reinstall from the Weblogic console for the changes to take place. I'm thinking this might be related.

有什么建议吗?

谢谢!

推荐答案

在任何以下项目中,将jar文件添加到构建路径中在您的项目中加入课程

Have a jar file added to a build path in any of the projects that include the classes in your project

这篇关于无法在Eclipse中安装断点:缺少行号信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆