Wednesday, September 18, 2013

maven/eclipse message: No marketplace entries found to handle maven-compiler-plugin:2.3.1:compile in Eclipse


If eclipse throws a message like this:

No marketplace entries found to handle maven-compiler-plugin:2.3.1:compile in Eclipse

Check your maven configuration.
Go to menu, windows, preferences, type "maven" in the filter box, select "User Setttings".
Set your local repository references.

For example:





Wednesday, September 11, 2013

linux debian startup: warn pulseaudio configured per session



PROBLEM

When starting debian  or a debian based distribution, you may get a warn message during startup, something like this:
[WARN] pulseaudio configured per session ...


NOT A REAL SOLUTION

Searching for a solution, you'll get many posts resolving this issuing by switching the following parameter
PULSEAUDIO_SYSTEM_START=0
to
PULSEAUDIO_SYSTEM_START=1

According to the pulse audio documentation, "system" mode shall be avoided for the general use.
See http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/


SOLUTION

I agree with Paul, about his comment at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644809

http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/FirstSteps/


It makes no much sense in terms os usability such warning.
The configuration for the general use should come out of the box, like the most applications do.
That way, after reading the documentations at:
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/FirstSteps/
and
http://mpd.wikia.com/wiki/PulseAudio
I checked the configuration file at /etc/pulse/client.conf  to make sure that everything is like it should.

Then, I've decided that this warning should be commented, since the my configuration was correct.
I edited the /etc/init.d/pulseaudio file and commented the lines as shown below:

test -f /etc/default/pulseaudio && . /etc/default/pulseaudio
#if [ "$PULSEAUDIO_SYSTEM_START" != "1" ]; then
#    log_warning_msg "PulseAudio configured for per-user sessions"
#    exit 0
#fi


Problem gone.
Unless there is something more to get it from it, let me know.
That's it.

eclipse: java: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" or Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

  >PROBLEM Using Eclipse, you try to run a simple logging test using "org.slf4j.Logger" like the sample below: package Test; im...