Skip to content

Instantly share code, notes, and snippets.

View SakaDream's full-sized avatar
😮‍💨
sleeping...

Hai Phan SakaDream

😮‍💨
sleeping...
View GitHub Profile
[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.12:site (default) on project Java-Security: Error creating commit: Invalid request.
[ERROR]
[ERROR] For 'properties/name', nil is not a string.
[ERROR] For 'properties/name', nil is not a string. (422)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.sakadream.security</groupId>
<artifactId>SakaDream-Security</artifactId>
<packaging>jar</packaging>
<version>1.1.0-SNAPSHOT</version>
<name>SakaDream-Security</name>
<url>http://maven.apache.org</url>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.11</version>
<configuration>
<!-- git commit message -->
<message>${project.version}</message>
<!-- disable webpage processing -->
<noJekyll>true</noJekyll>
<!-- matches distribution management repository url above -->
<properties>
<github.global.server>github</github.global.server>
</properties>
<settings>
<servers>
<server>
<id>github</id>
<password>paste token here</password>
</server>
</servers>
</settings>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration>
</plugin>
<distributionManagement>
<repository>
<id>internal.repo</id>
<name>Temporary Staging Repository</name>
<url>file://${project.build.directory}/mvn-repo</url>
</repository>
</distributionManagement>
package com.sakadream.test.controller;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
package com.sakadream.test.model;
import java.net.URI;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.HttpSession;
package com.sakadream.test.bean;
public class Employee {
private int id;
private String fullName;
private String address;
private String email;
private String phone;
private int salary;