问题标签 [eclipse-kepler]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
crash - JOptionPane 在随机运行次数后停止(在 MacbookAir 上使用 Eclipse Kepler、java 7、Windows 7 64bit)
我已经对这个问题进行了彻底的研究,但没有用。希望你们能帮助我。首先十分感谢!
测试代码如下:
它只是显示一个等待用户响应的输入框,如果用户点击 OK 则重复,如果用户点击 Cancel 或 X 按钮则停止。在随机数次点击 OK(或 Enter Key)后,该框会停止。它只显示框的框架,带有 X 按钮,内部没有任何内容(没有消息、没有输入字段、没有确定或取消按钮)。我唯一能做的就是点击 X 按钮退出程序。
showMessageDialog 和 showInputDialog 都会发生这种情况。
我的日志显示此警告:
!会话 2013-07-09 14:00:12.666 -------------------------------------------------- --------- eclipse.buildId=4.3.0.I20130605-2000 java.version=1.7.0_25 java.vendor=Oracle Corporation BootLoader 常量:OS=win32, ARCH=x86, WS=win32, NL= en_US 框架参数:-product org.eclipse.epp.package.standard.product 命令行参数:-os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product
!ENTRY org.eclipse.egit.ui 2 0 2013-07-09 14:00:30.147 !MESSAGE 警告:EGit 无法检测到本机 Git 的安装路径“gitPrefix”。因此 EGit 不能尊重系统级别的 Git 设置,这些设置可能在本机 Git 安装目录下的 ${gitPrefix}/etc/gitconfig 中配置。这些设置中最重要的是 core.autocrlf。默认情况下,Windows 版 Git 在此系统级别配置中将此参数设置为 true。Git 安装位置可以在团队 > Git > 配置首选项页面的“系统设置”选项卡上进行配置。可以在 Team > Git > Confirmations and Warnings 首选项页面上关闭此警告。
但我怀疑这个警告与 JOptionPane 错误没有任何关系。还是我错了?
我在这个论坛上发现有人遇到了与我完全相同的问题,解决方案是检查 Eclipse 使用的编译器,确保它是 Sun 的而不是 GCJ。但是,我的一直是 Sun 的 java 7。
我已经尝试过 64 位和 32 位的 Eclipse。
任何帮助深表感谢!!
android - 将代码从 Eclipse Juno 迁移到 Kepler 时找不到类错误
当我从我的手机上的 Eclipse IDE 运行 Android 应用程序时,它编译得很好,并提供了主要活动。当我按下其中一个按钮以调出另一个活动时,我收到错误“类链接...失败”
“找不到超类……”
'找不到类...引用自...'
我的代码没有改变,它没有在链接器中找到活动类,尽管它编译得很好,并且存在于清单中。
这段代码在 Juno 上工作。有什么想法可以改变吗?
谢谢
阿德里安
eclipse - 第一个开普勒工作区为来自 SVN 的 Maven 项目提供“路径必须包括项目和资源名称:/”
我已经相当成功地使用 Indigo 有一段时间了。今天我为 Kepler 安装了 STS。我为从 SVN 签出的(许多)项目导出/导入了我的首选项和团队项目集。
我注意到,当我切换到特定 Maven 项目的编辑器缓冲区时,经常会重复多次出现以下错误:
“路径必须包含项目和资源名称:/”
这个项目刚刚从 SVN 中签出,我在 Indigo 工作区中处理同一个项目,我没有看到这个错误。
我仔细检查了 Build Path 选项卡中的所有内容,并手动检查了 .classpath 和 .project 文件。
唯一看起来有点可疑的是我的 .project 文件中的以下块:
eclipse - 我无法从 symfony dubture com 安装 symfony2 功能到 Eclipse - 奇怪的错误
我尝试将 Symfony2 Feature 安装到 Eclipse Kepler(我也尝试安装 32 位和 64 位版本)但我只有这个错误:
我已经安装了 PDT。
有人知道该怎么做吗?
maven - 开普勒生命周期未涵盖 aspectj-maven-plugin
我刚刚下载了 OEPE (Kepler) 并安装了 m2e 和 m2e-wtp 连接器。我发现在这个路径下:Preferences -> Maven->Lifecycle mappings->Open workspace生命周期映射数据有一个预配置的xml文件,它说maven应该忽略AspectJ的编译目标,我认为这就是AspectJ运行时库的原因未添加到项目中,因此该项目未被 Eclipse 识别为 AspectJ 项目。
我在 xml 文件中注释掉了这些行并再次重新加载它。现在 IDE 不会在生命周期中忽略 AspectJ 插件标签,但 pom 文件抱怨它无法识别执行标签。
使用 indigo,m2e-wtp 能够识别<execution>
aspectj 插件的标签,并能够自动将 AspectJ 运行时库添加到项目中,尽管在 Kepler 中并非如此。(我认为从 pom 中制作一个 AspectJ 项目是 m2e-wtp 的工作,但不太确定。)
顺便提一句。我怎样才能让事情像在 Indigo 中一样工作?我知道我可以右键单击该项目并将其转换为方面项目以解决问题,但我希望 IDE 和插件从 pom 文件中认识到该项目需要 AspectJ jar。任何想法?
java - Eclipse 插件开发:使插件依赖于 CDT-plugin
我正在编写一个我想使用 CDT 插件的插件(因为我不想实现我自己的全新 C/C++ 编辑器)。
问题:
- 如何将我的插件的依赖项设置到这个特定的编辑器
- 如何将此编辑器设置为该项目的性质?
java - maven-archetype-webapp directory structure using Eclipse Kepler
Until now I was using Eclipse Indigo and m2eclipse. When wanted to create a new project I chose new maven project > skip archetype selection > gave names > finish.
This would result in a directory structure like : src/main/java src/main/resources src/test/java src/test/resources
and with the directory src/main/webapp including META-INF --MANIFEST.MF WEB-INF --web.xml
Recently (yesterday) I switched to the Eclipse Kepler. Maven is integrated, thus I didn't download m2eclipse wtp.
When I tried new project > maven project > skip archetype > naming > war packaging > finish , I got the correct structure in the src directory src/main/java src/main/resources src/test/java src/test/resources
But the directory webapp, was empty! META-INF and WEB-INF did not exist, no web.xml also. I read about using the maven-archetype-webapp, but i got the error: "Could not resolve artifact org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE Failed to resolve version for org.apache.maven.archetypes:maven-archetype-webapp:pom:RELEASE: Could not find metadata org.apache.maven.archetypes:maven-archetype-webapp/maven-metadata.xml in local (C:\Users\stef.m2\repository)"
With this article Failed to resolve version for org.apache.maven.archetypes
I found out that I had to add the remote maven catalog. I did and was able to create a project using the maven-archetype-webapp version 1.0 . But then the problem was that the directory structure in the new project was:
Java Resources --src/main/resources
and src/main/webapp --index.jsp --WEB-INF |--web.xml
I expected(and wanted) the old directory structure which was , src/main/java src/main/resources src/test/java src/test/resources
and with the directory src/main/webapp including META-INF --MANIFEST.MF WEB-INF --web.xml
Is there a step I am missinng? something changed in archetypes? Maybe it is a really stupid question, but my research returned very little results. Please feel free to any comment that can get me and other with the same issue, back in track
Thanks!
eclipse - Escape hides complete UI
I've upgraded to Eclipse Kepler from Juno, and I find that it handles the Esc key completely differently.
Usually, with the Esc key I could abort smaller views/menus like auto-completion: Alt+Space to open the auto-completion dropdown, Esc to close it.
However, with Kepler I find that Esc hides basically everything. Before:
After:
Esc is not mapped to any function (it's not listed in the configuration under keys). Is this the default behavior now? Does anybody else have this?
Resetting the perspective doesn't change this behavior. I think it might have something to do with the floaty windows style. When I installed Kepler and started it up, I had to manually resize the inner window (containing all the usual views) to the size of the screen.
Edit: I can get the UI back if I click the small Java perspective button in the little menu bar on the top left side. The Esc functionality seems to be the same with all the views (focusing each view, then pressing Esc does the same for every view).
eclipse - 在 Eclipse Kepler 4.3 中安装 JSDT jQuery 插件
我在这里从官方网站下载了 Eclipse Kepler 4.3 。
并成功安装了 PDT 插件(Eclipse -> Help -> Install new software
)。
问题 :
我需要安装 JSDT jQuery 插件。
我试过了 :
但是让我出现以下错误:
在https://svn.codespot.com/a/eclipselabs.org/jsdt-jquery/updatesite找不到存储库
提前致谢。
spring - 新开普勒工作区上的 Maven 项目因“无法初始化类 AspectJExpressionPointcut”而失败
我有一个工作 Indigo 工作区已经有一段时间了,很多项目都从 SVN 中签出。主要是 Ant 项目,但也有一些关键的 Maven 项目。
我正在努力让开普勒工作区与相同的项目一起工作。我基本上已经放弃了纯 STS 安装,因为这在两个 Maven 项目中都给了我(不同的)错误。我提交了 Eclipse 和 STS 错误,他们都说这是其他问题,所以我现在已经放弃了这条路。
我现在正尝试从纯 Eclipse 开始并安装我想要的 Spring 部件。我以为我已经安装了我需要的所有插件,但我没有收到我在安装 STS 时遇到的错误对话框,但是我遇到了一个我无法处理的构建错误。它是这样说的:
我想我错过了一些插件,但我不知道它会是什么。
我什至在我的工作区和 Kepler 发行版中对该类(“AspectJExpressionPointcut”)进行了详尽的搜索,但它找不到它,除非它位于 jar 文件中的 jar 文件中(我的搜索只是在 jar 中查找类目录树中的文件)。我在互联网上看到了对它的引用,但我无法从这些引用中得到太多。