Facebook
Twitter
LinkedIn
YouTube
GitHub
Hasan's Blog
  • General
  • CI/CD
  • DevOps
  • Test Mgmt & Automation
  • Blog
    • About me

Month: September 2014

Home 2014 September

java.lang.IllegalArgumentException: Object: myjpaapp.entities.Staff@b524a9d is not a known entity type.

2014/09/27ProgrammingNo commentscasperjs, JAVA, JPA, MYSQL, xpathHasan Yousuf
The code below was missing from the persistance unit. false <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="MyJPAAppPU" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>mymyjpaapp.entities.Staff</class> <properties> <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/dbname?zeroDateTimeBehavior=convertToNull"/> <property name="javax.persistence.jdbc.password" value="xxxxx"/> <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/> <property name="javax.persistence.jdbc.user" value="xxxxx"/> </properties> </persistence-unit> </persistence>
Read More

Error message when I run sudo: unable to resolve host

2014/09/20UncategorizedLinux, mint, UbuntuHasan Naqvi
The reason for this error is the conflict of hostname in two files check the hostname in /etc/hosts /etc/hostname
Read More

JAVA environment settings

2014/09/12UncategorizedNo commentsJAVA, Maven, TomcatHasan Naqvi
export JAVA_HOME=/usr/lib/jvm/java-7-oracle export PATH=$JAVA_HOME/bin:$PATH export M2_HOME=/usr/local/src/apache-maven-3.2.2 export PATH=$M2_HOME/bin:$PATH export CATALINA_HOME=/usr/local/src/apache-tomcat-7.0.55 export PATH=$CATALINA_HOME/bin:$PATH
Read More

how to kill kate process in mint linux

2014/09/01UncategorizedNo commentslinux mintHasan Naqvi
Use the xkill feature to kill a program you click on 1. Press Alt+F2 and type in gnome-terminal to open a terminal session. 2. Inside of the terminal type in sudo xkill; then click on any window to kill it. This command makes your cursor act like a terminator, deadly.
Read More

fatal error unable to find local grunt. jenkins

2014/09/01GruntjsNo commentsgruntjs, jenkinsHasan Yousuf
Have you installed grunt in your Jenkins server? npm install grunt
Read More

Hasan Naqvi

Categories

  • Casperjs (1)
  • CI/CD (4)
  • DevOps (6)
  • Gruntjs (2)
  • Jira (1)
  • Linux (1)
  • Programming (1)
  • Uncategorized (14)
  • VMware (1)

Archives

  • May 2020 (1)
  • April 2020 (1)
  • March 2020 (2)
  • September 2019 (2)
  • May 2018 (1)
  • September 2017 (3)
  • July 2017 (1)
  • June 2017 (4)
  • May 2017 (1)
  • July 2015 (2)
  • January 2015 (1)
  • October 2014 (1)
  • September 2014 (5)
  • August 2014 (1)

Tags

Arduino Arduino sketch Arduino sketch upload bash shell casperjs Couchdb Curl docker container docker images github Gitlab gnu Parallel gruntjs JAVA JAVA jenkins Jira JPA Json Linux linux mint Maven mint MYSQL Tomcat Ubuntu Version Control xpath

Top Posts & Pages

  • CURD functions and REST api
  • How to completely uninstall Android Studio on MAC?
  • Before you can run vmware several modules must be compiled and loaded into the running kernel
  • Trying to upload Blink example (Arduino sketch) on my Arduino uno
  • fill form using xpath in casperjs
  • Delete docker images & containers in one command
  • How to import data in couchdb using JSON file

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

  • General
  • CI/CD
  • DevOps
  • Test Mgmt & Automation
  • Blog
    • About me
@2017