Categories
Uncategorized

Problem with TagLibs on Jetty run under maven2.

Error obviously suggests problem with library versions. Generally first step  to solve this is to find out in what version of library below method is used, what version we  are using (jar may be provided by your application, by application server or sometimes in java libs folder).

java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/String;ZZ)V  org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute (TagLibraryInfoImpl.java:577)

Most often conflict is in jetty/libs directory, but where does jetty under maven has it’s home dir?
More about configuring jetty plugin here.

After struggling with my configuration I find out that problem was in following lines:


<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-j2ee_1.4_spec</artifactId>
<version>1.0</version>
</dependency>

which I copied from other tutorial so small chances thay it will be your cause.

Categories
Uncategorized

No Polish keys after upgrade to xorg-server 1.5

Have you read news that gentoo developers have sent you?

eselect news read 2009-04-06-x_server-1_5

xorg-server 1.5 now have option to use hal to configure devices (in future xorg.conf will be not needed atall)
and by default looks for configuration options for devices in /etc/hal/

You can:
1. Disable new feature be adding
Option “AutoAddDevices” “false”
to your xorg.conf

2. Start using new features…
Make sure your xorg is compiled with hal and edev flags.
and copy following file

<?xml version="1.0" encoding="UTF-8"?>
<!--
Section "InputDevice"
Driver "evdev"
Option "XkbLayout" "ee"
EndSection
-->
<deviceinfo version="0.2">
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_options.XkbLayout" type="string">pl</merge>
</match>
</deviceinfo>

into /etc/hal/fdi/policy/10-xinput-configuration.fdi
More details here