Aktualisierungen von Juni, 2017 Kommentarverlauf ein-/ausschalten | Tastaturkürzel

  • Andreas 20:19 am 27. June 2017 permalink  

    Eclipse won’t start after crash 

    If Eclipse crashed and won’t start again, i.e. it hangs forever, go to
    [workspace]/.metadata/.plugins/org.eclipse.core.resources
    and delete the .snap file. If that does not help go through .projects and delete one .snap file after the other (or move it to trash)

     
  • Andreas 21:55 am 19. June 2017 permalink  

    Eclipse hangs on startup after 

    If Eclipse does not start, after it unexpectedly quit, remove any .snap file from this folder
    [workspace]/.metadata/.plugins/org.eclipse.core.resources

     
  • Andreas 20:25 am 19. June 2017 permalink  

    beans.xml 

    Not required in fact starting from JavaEE7 on. But if you want to control, adjust the bean-discovery-mode
    xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd" bean-discovery-mode="all">
    For jar projects used as external 3rd party libs, put it in
    src/main/resources/META-INF
    docs.jboss.org/cdi/spec/1.1/cdi-spec.html#bean_archive

     
  • Andreas 16:14 am 13. June 2017 permalink  

    Maven, Payara, JEE: Cannot find beans.xml 

    Exception while loading the app : WELD-001201: Error loading beans.xml jar:file:/Users/johndoe/Applications/servers/payara41/glassfish/domains/apps/eclipseApps/servicer/WEB-INF/lib/monitoring-0.0.1-SNAPSHOT.jar!/META-INF/beans.xml
    java.io.FileNotFoundException: JAR entry META-INF/beans.xml not found in … at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:142)

    Stupid error. META-INF/beans.xml must reside directly under src.
    Cf. stackoverflow.com/a/9998463

     
  • Andreas 09:06 am 5. June 2017 permalink  

    Search with apt 

    How to search for library with apt, e.g. apt-cache search libst*

     
  • Andreas 11:13 am 2. June 2017 permalink  

    Setup terminal for Mac 

    It’s been a long time I had to set up a new Macbook. So here some memory hooks for the future
    Add term settingn to .profile in your home
    alias ll='ls -lartG'
    Set colors and an sensible prompt export PS1="[33[36m]u[33[m]@[33[32m]h:[33[33;1m]w[33[m]$ " export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad
    export http_proxy=http://user:pwd@proxy export https_proxy= user:pwd@proxy

     
c
Neuen Beitrag erstellen
j
nächster Beitrag/nächster Kommentar
k
vorheriger Beitrag/vorheriger Kommentar
r
Antwort
e
Bearbeiten
o
zeige/verstecke Kommentare
t
Zum Anfang gehen
l
zum Login
h
Zeige/Verberge Hilfe
Shift + Esc
Abbrechen