标签: eclipse-kepler

Eclipse Kepler和JBoss Wildfly热部署

我正在尝试将eclipse kepler用于Java EE 7.我已经安装了JBoss Tools并成功添加了JBoss Wildfly作为服务器.但是,我的更改不会自动部署.无论如何,应用程序可以像使用glassfish一样自动部署吗?

eclipse jboss-tools eclipse-kepler wildfly

20
推荐指数
3
解决办法
2万
查看次数

Eclipse对jfxrt.jar类的访问限制发出警告

我正在使用eclipse kepler和java SE 1.8 jdk系统库,但是当我使用任何javafx类或方法时,eclipse会发出类似的警告Access restriction: The type 'TableColumn<?,?>' is not API (restriction on required library 'C:\Program Files\Java\jdk1.8.0_05\jre\lib\ext\jfxrt.jar').

我已经尝试向系统库添加访问规则,以允许使用通配符访问库中的所有jar,*但警告仍然存在.我也使用maven建设项目.代码有效,但警告是唠叨,并且在我编码时影响可读性.任何帮助表示赞赏.

编辑:我也尝试@SuppressWarnings("restriction")在我的课程开头添加,但这仍然无法解决未知原因并隐藏我可能需要看到的所有其他限制警告

eclipse javafx maven java-8 eclipse-kepler

20
推荐指数
3
解决办法
2万
查看次数

Eclipse Kepler中缺少Dynamic Web Project选项

Eclipse中新项目的"Dynamic Web Project"选项未显示在列表中.
虽然"web"文件夹显示选项"静态Web项目"但没有"动态Web项目"选项.
我已经安装了Web,XML,Java EE插件.
我正在使用Eclipse Kepler realease-2.

eclipse java-ee web-project eclipse-kepler

19
推荐指数
3
解决办法
7万
查看次数

Eclipse kepler无法安装更新

下载更新后,它会显示无法安装更新的错误.

卸载会话上下文时发生错误:(profile = epp.package.cpp,phase = org.eclipse.equinox.internal.p2.engine.phases.Uninstall,operand = [R] org.eclipse.rcp.configuration_root.win32 .win32.x86_64 1.0.0.v20130521-1847 - > null,action = org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).文件D:\ eclipse\eclipse.exe的备份失败.无法删除:D:\ eclipse\eclipse.exe

我在win7和jdk1.7.0_21 64bit下运行它.

如何解决?

eclipse-cdt eclipse-kepler

17
推荐指数
2
解决办法
6431
查看次数

如何在导入时阻止Eclipse提供已弃用的类?

我有一个使用Eclipse的反复出现的问题.请考虑以下示例:

使用已弃用的类组织导入

你可以看到我按了Ctrl+ Shift+ O.我可以从已弃用未弃用的注释中进行选择.我的问题是我经常提供几十个类,其中一半被弃用(一个完美的例子是JUnit Assert类).

我的问题是如何在组织导入时使Eclipse忽略所有已弃用的类?

java eclipse import java-7 eclipse-kepler

16
推荐指数
1
解决办法
1069
查看次数

Eclipse Kepler自动退出加载工作台时出错

当我启动eclipse时,在启动加载窗口时,eclise自动退出并显示错误:

        !SESSION 2013-09-05 14:52:04.771 -----------------------------------------------
    eclipse.buildId=4.3.0.I20130605-2000
    java.version=1.7.0_25
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments:  -product org.eclipse.epp.package.jee.product
    Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

    !ENTRY org.eclipse.ui.workbench 4 2 2013-09-05 14:52:09.260
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NullPointerException
        at org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper.getService(ServiceHelper.java:74)
        at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.updateRoamingProfile(SimpleProfileRegistry.java:156)
        at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.updateSelfProfile(SimpleProfileRegistry.java:147)
        at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:344)
        at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.internalGetProfile(SimpleProfileRegistry.java:248)
        at org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfile(SimpleProfileRegistry.java:178)
        at org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdateScheduler.earlyStartup(AutomaticUpdateScheduler.java:88)
        at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
        at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2552)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

    !ENTRY org.eclipse.ui.workbench 4 2 2013-09-05 14:52:09.264
    !MESSAGE Problems occurred …
Run Code Online (Sandbox Code Playgroud)

eclipse eclipse-kepler

15
推荐指数
1
解决办法
2万
查看次数

在开普勒的生命周期中没有涵盖的aspectj-maven-plugin

我刚刚下载了OEPE(Kepler)并安装了m2e和m2e-wtp连接器.我发现在这条路径下:首选项 - > Maven->生命周期映射 - >打开工作区生命周期映射数据有一个预先配置的xml文件,该文件说maven应该忽略AspectJ的编译目标,我认为这就是为什么AspectJ运行时库是未添加到项目中,因此eclipse不会将项目识别为AspectJ项目.

<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
<pluginExecutions>
    <pluginExecution>
        <pluginExecutionFilter>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>aspectj-maven-plugin</artifactId>
            <versionRange>1.6</versionRange>
            <goals>
                <goal>compile</goal>
            </goals>
        </pluginExecutionFilter>
        <action>
            <ignore />
        </action>
    </pluginExecution>
</pluginExecutions>
Run Code Online (Sandbox Code Playgroud)

我在xml文件中注释掉了这些行并再次重新加载.现在IDE不会忽略生命周期中的AspectJ插件标记,但是pom文件抱怨它无法识别执行标记.

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.4</version>
<dependencies>
    <dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjrt</artifactId>
        <version>${aspectj.version}</version>
    </dependency>
</dependencies>
<configuration>
    <source>1.6</source>
    <target>1.6</target>
</configuration>
<executions>
    <execution>
        <goals>
            <goal>compile</goal>
        </goals>
    </execution>
</executions>
</plugin>
Run Code Online (Sandbox Code Playgroud)

使用indigo,m2e-wtp能够识别<execution>aspectj插件的标签,并能够自动将AspectJ运行时库添加到项目中,尽管在开普勒中并非如此.(我认为m2e-wtp的工作是将一个AspectJ项目从pom中取出但不太确定.)

顺便说一句.我怎么能像Indigo那样让事情发挥作用?我知道我可以右键单击项目并将其转换为Aspect项目以解决问题,但我希望IDE和插件从pom文件中实现该项目需要AspectJ jar.任何的想法?

lifecycle aspectj maven eclipse-kepler

13
推荐指数
1
解决办法
1万
查看次数

在Eclipse Kepler中找不到市场

我正在使用Eclipse Kepler的新副本,但我无法找到市场.我知道它通常在"帮助"下,但它不在那里.

有没有选项让它再次可见?

Mayby很高兴知道,我正在研究Ubuntu 12.10

eclipse eclipse-marketplace eclipse-kepler

13
推荐指数
2
解决办法
2万
查看次数

如何在eclipse中附加控制台?

在eclipse中,控制台以某种方式脱离了.现在它出现如下:

在此输入图像描述

如何将它附在窗户上?我尝试了"pin控制台"按钮但没有发生任何事情.我正在运行eclipse kepler.

请帮忙.

eclipse console eclipse-kepler

13
推荐指数
3
解决办法
9861
查看次数

OS X 10.9 Beta 6上禁用了Eclipse菜单

今天我像往常一样打开了我的日食,但我无法做任何事情.除首选项外的所有菜单都显示为灰色,已禁用.

我在Mac Mavericks Beta 6和Eclipse Kepler上

你对我有任何暗示吗?重启Eclipse或完整的mac并没有解决问题

Eclipse菜单

eclipse macos eclipse-kepler

11
推荐指数
1
解决办法
7038
查看次数