This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.rest; | |
| import de.itout.innova.ssp.entities.ssp.entities.*; | |
| import java.util.*; | |
| import javax.inject.*; | |
| import javax.ws.rs.*; | |
| import javax.ws.rs.core.*; | |
| /** | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.rest; | |
| import javax.enterprise.context.*; | |
| import javax.persistence.*; | |
| /** | |
| * | |
| * @author swendelmann | |
| */ | |
| @ApplicationScoped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package de.swendelmann.test.mavenproject2; | |
| /** | |
| * | |
| * @author Stefan | |
| */ | |
| public class Test | |
| { | |
| public static void main(String[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| */ | |
| package de.itout.quoloco.web.pages.empfangseinheittypen; | |
| import de.gsq.system.util.*; | |
| import de.itout.quoloco.entities.*; | |
| import de.itout.quoloco.web.util.*; | |
| import de.itout.web.*; | |
| import de.itout.web.gui.*; | |
| import java.io.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd C:\Daten\Quoloco\QuoLocoWeb-Maven; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.7.0_80" "M2_HOME=C:\\Program Files\\Maven\\apache-maven-3.5.0" cmd /c "\"\"C:\\Program Files\\Maven\\apache-maven-3.5.0\\bin\\mvn.cmd\" -Dnetbeans.deploy=true -Dmaven.ext.class.path=\"C:\\Program Files\\NetBeans 8.2\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 package\"" | |
| Scanning for projects... | |
| ------------------------------------------------------------------------ | |
| Building QuoLocoWeb 0.0.1 | |
| ------------------------------------------------------------------------ | |
| --- maven-dependency-plugin:2.6:copy (default) @ QuoLocoWeb --- | |
| --- maven-resources-plugin:2.6:resources (default-resources) @ QuoLocoWeb --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='UTF-8' ?> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" | |
| xmlns:h="http://java.sun.com/jsf/html" | |
| xmlns:f="http://java.sun.com/jsf/core" | |
| xmlns:ui="http://java.sun.com/jsf/facelets" | |
| xmlns:p="http://primefaces.org/ui" | |
| xmlns:c="http://java.sun.com/jsp/jstl/core"> | |
| <ui:composition template="/WEB-INF/templates/templateMainMenu.xhtml"> | |
| <ui:define name="title">Eventlog</ui:define> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static Object createManagedBean(String aName) | |
| { | |
| FacesContext fc = FacesContext.getCurrentInstance(); | |
| Application app = fc.getApplication(); | |
| // Bean löschen | |
| deleteManagedBean(aName); | |
| // Bean setzen | |
| //Object result = app.getVariableResolver().resolveVariable(FacesContext.getCurrentInstance(), aName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 14:25:43,726 SEVERE [de.itout.quoloco.web.pages.benutzer.BenutzerMaint] (default task-15) Fehler bei der Aktualisierung: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: de.itout.quoloco.entities.Benutzer | |
| at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692) | |
| at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602) | |
| at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608) | |
| at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1152) | |
| at org.jboss.as.jpa.container.AbstractEntityManager.persist(AbstractEntityManager.java:580) | |
| at de.itout.quoloco.web.pages.benutzer.BenutzerMaint.doChange(BenutzerMaint.java:308) | |
| at de.itout.web.gui.MaintPage.bnOk(MaintPage.java:112) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12:10:54,430 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (default task-64) #{benutzerWorker.bnChange}: com.sun.faces.mgbean.ManagedBeanCreationException: Bei der Ressourcen-Einspeisung auf dem verwalteten Bean benutzerMaint ist ein Fehler aufgetreten.: javax.faces.FacesException: #{benutzerWorker.bnChange}: com.sun.faces.mgbean.ManagedBeanCreationException: Bei der Ressourcen-Einspeisung auf dem verwalteten Bean benutzerMaint ist ein Fehler aufgetreten. | |
| at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) | |
| at org.primefaces.application.DialogActionListener.processAction(DialogActionListener.java:45) | |
| at javax.faces.component.UICommand.broadcast(UICommand.java:315) | |
| at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790) | |
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282) | |
| at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) | |
| at com.sun.faces.lifecycle.Phase.doPhase(Phase.ja |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import de.gsq.system.crypto.*; | |
| import de.gsq.system.util.*; | |
| import de.itout.quoloco.entities.*; | |
| import de.itout.quoloco.web.util.*; | |
| import de.itout.web.*; | |
| import de.itout.web.gui.*; | |
| import java.io.*; | |
| import java.util.*; | |
| import java.util.logging.*; | |
| import javax.annotation.*; |