fix archetype generated java