Category "eclipse"

Vim incremental search

I'm using putty on a Linux machine. My usual method for searching in vi is entering the slash /, then my search string, enter, then go through all the matches b

Eclipse Java Project - Open Declaration always opens class file instead of .java

I'm posting this query after doing lots of googling and trying out different options for last few days. Is there an easy way to attach source in Eclipse? is the

Eclipse says: “Workspace in use or cannot be created, chose a different one.” How do I unlock a workspace?

When I start, Eclipse says "Workspace Cannot Be Locked" "Could not launch the product because the associated workspace is currently in use by another Eclipse a

How to configure toolchains plugin in m2e / Installed maven in Eclipse

Currently i am using maven(Apache Maven 3.3.9) & Java(Java version: 1.8.0_91) installed in my windows machine. I have a java application which was develope

How to configure toolchains plugin in m2e / Installed maven in Eclipse

Currently i am using maven(Apache Maven 3.3.9) & Java(Java version: 1.8.0_91) installed in my windows machine. I have a java application which was develope

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain

I am using m2e to build a java project. I need to use JAVA VERSION 1.6 . So i am trying to configure toolchains plugin to achieve it. by referring the below lin

javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.Multipart

public void parseEml(Message msg) throws Exception { Address[] froms = msg.getFrom(); if (froms != null) { InternetAddress addr = (InternetAddr

cannot commit or push using egit (guess: issues with secure storage area)

I can commit/push from bash shell using git. However, I cannot commit/push using eclipse/egit. I get pop up error " ssh://[email protected]/home/git/cbm.

MSC00001: Failed to start service jboss.deployment.unit

I have problem with my project using Jboss 7.0 I can't build that. This is my problem 19:00:38,809 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3

Eclipse: Unable to build the project

The project was not built due to "Resource already exists on disk: ''.". Fix the problem, then try refreshing this project and building it since it may be incon

Eclipse - Show generated class files

How can I show the folder (bin) where my class files are placed after I build a project in eclipse? I want this directory to show up in the package explorer. Se

Eclipse autocomplete not working

The autocomplete of eclipse is not working now and I searched for hours but I couldn't find an answer to solve it. I haven't used it for long time then the firs

Eclipse no longer makes import suggestions in quickfixes

eclipse isn't making import suggestions anymore. I don't know why it stopped. Here is an example.

"Failed to create Context 0x3005" for Android Emulator

I installed a project in Eclipse and when I run Android emulator I get this error: [2013-11-10 17:19:16 - Emulator] Failed to create Context 0x3005 [2013-11-10

Upgrade log4j to log4j2 in OSGi environment (Eclipse plugin)

I have an OSGi application (Eclipse plugin) that contains several bundles. I have a com.domain.dependencies bundle that, as the name suggests, contains dependen

Java equivalent of #ifdef that allows non-compilable code

Is it possible in Java to do a sort of #ifdef thing, like in C/C++? Example: class Test { public static final boolean ANDROID = false; public Test()

import sun.misc.BASE64Encoder results in error compiled in Eclipse

For this two imports; import sun.misc.BASE64Encoder; import sun.misc.BASE64Decoder; I got this error: Access restriction: The type BASE64Decoder is not acce

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

I install Hadoop-0.20.2 in windows using cygwin. If i run $ bin/hadoop version Hadoop 0.20.2 Subversion https://svn.apache.org/repos/asf/hadoop/common/branch

Given two trees, return true if they are structurally identical they are made of nodes with the same values arranged in the same way

public static boolean identical(treenode<Integer> root1,treenode<Integer> root2) { boolean ans; for(int i=0;i<root1.children.

WindowsBuilder is not working on Eclipse

This is Anas here and I just wonder if one can share his though about windowsbuilder on eclipse. I installed it from help link through selecting SWT, GWT other