If you are using Hibernate 5.+ and Glassfish 4.X or other earlier version , you will probably see this error. That's happening because there is a conflict between Glassfish modules and your project dependency, more specifically the lib org.jboss.logging. It's happening because the method org.jboss.logging.Logger.debugf is only available in the jboss-logging version 3.3.0 or later and there is on … Continue lendo NoSuchMethodError: org.jboss.logging.Logger.debugf(Ljava/lang/String)
Autor: Tássio Auad
What?! java.lang.ClassCastException?!
If you are facing something very strange like com.tassioauad.MyEntity cannot be cast to com.tassioauad.MyEntity, don't worry because you are not alone. It's typically occurs when two ClassLoader load the classes with the same name, because different ClassLoader can do the same class be considered different. What is the ClassLoader? It is a class that load other classes, … Continue lendo What?! java.lang.ClassCastException?!
Simple Project: Spring Boot + Apache CXF (JAX-WS)
Let's create a simple hello world with and Spring Boot + Apache CXF (JAX-WS) project. Is not so common to find and example on the web, so I'm going to provide it. Firstly, we need to declare some dependencies on our pom.xml: https://gist.github.com/tassioauad/dbd1aaf44cdfb326c0777b162154178d I'd like to highlight the dependency with artefactid cxf-spring-boot-starter-jaxws, which provides the … Continue lendo Simple Project: Spring Boot + Apache CXF (JAX-WS)
How to clone all branches on Git?
Question I'd like to know how to clone automatically all remote branches in my local repository without execute one command for each one like this: git checkout -b <branch> <remote>/<branch> There are a lot of branches, too many to do one command for each one. Answer I'd recommend create an alias (showed below), which executes … Continue lendo How to clone all branches on Git?
Relação entre o RUP e as Metodologias Ágeis
Vejo alguns livros considerando o RUP como ágil e outros não. Os livros mais tradicionais não o consideram ágil, o que soa mais correto por, historicamente, ele não ter surgido no "boom" do manifesto ágil e existirem metodologias irmãs a ele que buscam aspectos mais ágeis no processo, como o UP Agile. Se o RUP … Continue lendo Relação entre o RUP e as Metodologias Ágeis