原创 Npm執行install時的一些問題

Npm執行install時的一些問題   首先,由於速度問題,建議更換淘寶源。但是,不推薦直接使用cnpm,因爲cnpm與npm產生的目錄結構等還是有不同的,有時會產生莫名其妙的bug。 ⚡npm更換淘寶源 npm config

原创 CodeBlocks調試(Debug)簡介

CodeBlocks調試(Debug)簡介 1、添加斷點 2、開始debug 方法一:按F8 方法二: 方法三: 3、按鈕的作用及快捷鍵簡介 4、打開監視窗口

原创 命令行(cmd)運行Java程序

命令行(cmd)運行Java程序 一、新建xxx.java文件 public class Test { public static void main(String[] args) { System.out

原创 Hibernate無法自動建表

Hibernate無法自動建表 在寫SSH項目時新寫的一個實體Hibernate始終無法自動創建表,檢查幾遍配置文件無果後重啓Eclipse解決。。。 網上可以搜到很多配置方案,但在認真檢查代碼沒有發現問題時重啓一下也是不錯的。

原创 Spring報錯: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [xxx]

Spring報錯: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [xxx] 完整報錯 00:00:00,056

原创 報錯:The processing instruction target matching "[xX][mM][lL]" is not allowed.

報錯:The processing instruction target matching “[xX][mM][lL]” is not allowed. 在寫struts配置文件struts.xml時<?xml version="