Dimitri De Franciscis

Consulente software freelance

Primary links

  • Homepage
  • Chi sono
  • Pubblicazioni
  • Curriculum Vitae
  • Libri e guide
  • Fotografia
  • Pittura
  • Contattami
Home

jee

Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

Submitted by dimitri on Mer, 04/01/2012 - 11:58
  • Informatica
  • j2ee
  • java
  • javax
  • jee
  • junit
  • maven
  • servlet
  • web application

Purtroppo anche io ho dovuto fare i conti con questo temibile e incomprensibile errore... ma per fortuna ne sono uscito indenne! Ora vi spiegherò come.

Dipendenze javaee-api

Di recente ho dovuto creare delle semplici web application in Java, utilizzando Maven come strumento di build (e non solo). Dopo essermi documentato sulle dipendenze da includere ho scoperto che per una generica applicazione Java Enterprise Edition (JEE) dovrebbe bastare includere questo frammento di configurazione nel file pom.xml:

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 200 letture
  • English

Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

Submitted by dimitri on Gio, 07/04/2011 - 10:22
  • Informatica
  • j2ee
  • java
  • javax
  • jee
  • junit
  • maven
  • servlet
  • web application

I had to face this strange and scary error... but I was lucky and smart enough to come out with a solution, and I want to share it with you.

javaee-api dependencies

Recently I had to create some simple Java web applications using Maven as build tool (and not only for builds). After reading the necessary documentation about dependencies to be included I discovered that for a generic Java Enterprise Edition (JEE) application this configuration fragment in pom.xml should be enough:

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 1454 letture
  • Italian

How to configure relative paths for Log4j using Spring

Submitted by dimitri on Ven, 31/07/2009 - 12:48
  • Informatica
  • j2ee
  • java
  • jee
  • log4j
  • servlet
  • spring
  • tomcat
  • web application
  • web.xml

One of the most annoying problems of application deploying is how to correctly configure logging. In this article we'll see how Spring can help us in this area.

Absolute vs relative paths

The biggest issue of relative paths is that they must be manually modified for each application instance, thus requiring time and attention. Let's try to use relative paths instead.

Below you can see our first try, where we try to write on file (save this snippet in /WEB-INF/classes/log4j.properties):

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 11036 letture
  • Italian

Configurare path relativi per Log4j utilizzando Spring

Submitted by dimitri on Mer, 26/11/2008 - 13:14
  • Informatica
  • j2ee
  • java
  • jee
  • log4j
  • servlet
  • spring
  • tomcat
  • web application
  • web.xml

Uno dei problemi più fastidiosi quando si esegue il deploy di una web application Java è la corretta configurazione del logging. In questo articolo vedremo come Spring ci può venire in aiuto.

Path assoluti vs path relativi

Il problema principale dei path assoluti è che vanno  modificati per ogni installazione dell'applicazione, richiedendo tempo e attenzione. Proviamo allora a configurare la web application per utilizzare path relativi.

  • dimitri's blog
  • 8 commenti
  • Leggi tutto
  • 7796 letture
  • English

Hibernate + PostgreSQL, prove di convivenza

Submitted by dimitri on Ven, 14/11/2008 - 10:56
  • Informatica
  • hibernate
  • hql
  • j2ee
  • java
  • jee
  • postgresql
  • sql

Antefatto

Tempo, lavorando sul mio progettino open source StudioDix, sono incappato in un "problema" inusuale, relativo alla convivenza fra Hibernate (o più in generale a JDBC) e il noto database PostgreSQL.

  • dimitri's blog
  • Aggiungi un commento
  • Leggi tutto
  • 1327 letture

Potresti essere interessato anche a...

  • Hibernate + PostgreSQL, prove di convivenza
  • Configurare path relativi per Log4j utilizzando Spring
  • How to configure relative paths for Log4j using Spring
  • Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException
  • Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletException

Navigazione

  • Contenuti recenti
  • Cerca
  • Tags
  • Articoli più letti

Seguimi

Follow @megadix

Dimitri De Franciscis - Consulente software freelance

Secondary links

  • Note legali
  • Pubblicità su www.megadix.it

Copyright De Franciscis Dimitri - p.iva 05327790969

RoopleTheme