在/etc/profile.d/foo.sh中,我有:
set -o vi
export ECLIPSE_HOME=/usr/local/eclipse
alias eclipse=${ECLIPSE_HOME}/eclipse
在重新启动我的Ubuntu11.1032位安装程序、从图形用户界面登录并以常规用户身份打开终端并输入alias eclipse之后,别名未定义:bash: alias: eclipse: not found
如果我接着执行sudo su -,然后执行alias eclipse,那么我将正确地获得alias eclipse='/usr/local/eclipse
我希望所有的工作区设置都存储在clearcase中,并且能够使用cp命令创建新的工作区。我尝试只从工作工作区复制.metadata/.plugins/org.eclipse.core.runtime/.settings和.metadata/.plugins/org.eclipse.core.resources/.projects -但在新的工作区中,项目资源管理器没有显示任何项目/工作集。我在Linux上使用eclipse Juno (4.2)。
用于将旧工作区复制到新工作区的==脚本
#!/bin/csh -f
set old = old_workspace
set new = works
我有一个桌面应用程序建立在SWT上。我有一棵树,它被封装在一个ScrolledComposite中。应用程序中的这段代码用于刷新ui组件。
aTreeViewer.setInput(this.items) //items is an array list of relevant objects
但它在Windows和Windows7上的行为很奇怪。在Win XP中,它返回一个硬ArrayIndexOutofBounds异常,这会影响我的应用程序的行为。
java.lang.ArrayIndexOutOfBoundsException: 46
at org.eclipse.swt.
Calculating requirements and dependencies.
Cannot complete the request. Generating details.
ERROR: org.eclipse.pde.core code=0 Problems occurred while resolving the target contents
at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:280)
at org.eclipse.oomph.util.pde.TargetPlat
我对基本的HelloWorld程序有问题。我没有改变基本程序。但是,当我想在*.xml文件夹中打开任何res/values文件时,会出现一个异常:
发生了错误。有关详细信息,请参阅错误日志。java.lang.NullPointerException
下面是异常堆栈跟踪:
java.lang.NullPointerException
at org.eclipse.wst.xml.core.internal.document.ElementImpl.getDefaultValue(ElementImpl.java:259)
at org.eclipse.wst.xml.core.inter
在最近的一次服务器故障和新的集群设置之后,用于BIRT报告的web应用程序停止工作。我发现存储它的Tomcat服务器离线了,所以我启动了该服务,现在我在尝试查看报告时收到以下错误消息:
org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.birt.report.d
我使用Eclipse插件从WSDL:https://api.sandbox.ebay.com/wsapi?wsdl生成存根。
但是,当我这样做的时候,我得到了一个错误:
IWAB0399E Error in generating Java from WSDL: java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
java.io.IOException: WSDL2Java emitter timed out
我编写了一个实现com.sun.source.util.TaskListener的自定义注释和处理器。当前,当作为gradle构建的一部分运行时,注释处理可以工作,但是当我在STS中启用注释处理时,我会得到以下错误:
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources"
java.lang.NoClassDefFoundError: com/sun/source/util/TaskListener
at java.lang.ClassLoader.defineClass1
当通过Jenkins在Redhat服务器(6.7)上为Eclipse运行Tycho UI测试时,会发生以下异常。我知道必须安装并运行图形子系统,但我的设置似乎有问题。我已经通过"yum groupinstall Desktop“安装了GTK。
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:4517)
at org.eclipse.swt.widgets.Display.createDisplay(Displ
我正在使用egit插件,当我试图在Ecplise中为一个已经从远程->仓库导入的java项目执行team Git Pull时,在输入我的凭据后,我得到了以下错误堆栈:
org.eclipse.jgit.api.errors.TransportException: http://server:8080/tfs/project: not authorized
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:250)
at org.eclipse.jgit.api.PullCommand.call(Pull
我安装了
Eclipse Platform
Version: 3.8.1
Build id: M20120914-1540
我想安装Maven。
我按照以下步骤操作:
Help->Install New Software
M2Eclipse" and Location as http://download.eclipse.org/technology/m2e/releases/1.3
我在安装软件中得到以下错误
An error occurred while collecting items to be installed
session context was:(profil
如何解决上面报告的Eclipse错误消息?详情见下文。
异常堆栈跟踪
java.lang.NullPointerException
at org.eclipse.m2e.jdt.internal.MavenClasspathContainerInitializer.initialize(MavenClasspathContainerInitializer.java:48)
at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2843)
at
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
捆绑包确实在插件目录中,并被config.ini引用。
问题是什么,如何解决?
你可以在这里找到代码:
这是完整的错误报告:
!SESSION 2014-05-02 10:57:06.671 ----------------------------------------
对于eclipse我有一个问题,我无法在我的工作空间中打开任何文件;如果我试图打开文件,eclipse将警告下面的错误对话框
"An error has occurred. See error log for more details. java.lang.NullPointerException"
我在工作区的.meta中看到了.meta文件,文件中有一个段落如下所示:
!ENTRY org.eclipse.jface 4 2 2557-04-09 11:40:49.422
!MESSAGE Problems occurred when invoking code from
我一直在开发Solr,并在其上运行了一些负载测试。过了一段时间后,我不断得到
Nov 29, 2012 3:34:43 PM org.apache.solr.common.SolrException log
SEVERE: null:java.lang.IllegalStateException: Form too large275768>200000
at org.eclipse.jetty.server.Request.extractParameters(Request.java:279)
at org.eclipse.jetty.server.Request.getParamete