Category "eclipse"

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

The class folder is not associated to any output library entry

My Eclipse plugin project which holds libraries used by other OSGi plugins gives me the following warning: The class folder 'lib/' is not associated to any