首页 技术 正文
技术 2022年11月17日
0 收藏 400 点赞 2,577 浏览 1521 个字

参考链接1:http://blog.csdn.net/u012364631/article/details/47682011

IDEA Community(社区版) 使用Maven创建Web工程 并部署tomcat

参考链接2:http://blog.csdn.net/u012406177/article/details/72847153

IntelliJ IDEA Ultimate 2017激活方法


以下两种方式均可:

1.在网站http://idea.lanyus.com/中获取注册码,填入Activation code中;

2.选择License server项,填入下面任一地址:

http://intellij.mandroid.cn/http://idea.imsxm.com/http://idea.iteblog.com/key.php 

然后点击Activate即可。

参考链接3:http://www.cnblogs.com/wtzbk/p/7409770.html

.net到Java那些事儿–整合SSH


[转]Java IDE 之 IntelliJ IDEA 2017

需要注意的是,配置环境变量 M2_HOME 、JAVA_HOME 时的路径都不含 bin 目录。


从 https://downloads.mariadb.org 网站下载 MariaDB 最新稳定版本后,使用命令提示符 mysql -uroot -p123456 来登录到 mariadb

drop database if exists sampledb;

create database sampledb default character set utf8;

use sampledb;

使用以上命令创建 sampledb 数据库,采用 utf-8 字符集。

create table t_user(
user_id int auto_increment primary key,
user_name varchar(30),
credits int,
password varchar(32),
last_visit datetime,
last_ip varchar(23)
) ENGINE=InnoDB;

创建用户表

create table t_login_log(
login_log_id int auto_increment primary key,
user_id int,
ip varchar(23),
login_datetime datetime
) ENGINE=InnoDB;

创建登录日志表 ENGINE=InnoDB 表示使用 InnoDB 类型的表引擎。(MYSQL 默认的 MyISAM 引擎不支持事务,仅存储数据。)

insert into t_user(user_name,password) values(‘admin’,’123456′);

插入一条数据。

可以在命令提示符中直接运行脚本文件,两种方式如下:

[转]Java IDE 之 IntelliJ IDEA 2017

最终项目源代码:https://files.cnblogs.com/files/z5337/chapter2_study.rar

Spring 命令行之 CLI 命令工具包下载地址:http://repo.spring.io/release/org/springframework/boot/spring-boot-cli/

[转]Java IDE 之 IntelliJ IDEA 2017

spring run "D:\IdeaProjects\chapter3_study2\BbsDaemon.groovy"

按上述方式测试发现,网站发布成功,但页面在 Chrome 浏览器显示乱码。

http://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-actuator

在 pom.xml 添加此依赖可以基于 Spring Boot 应用,添加监控功能。

[转]Java IDE 之 IntelliJ IDEA 2017

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,105
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,582
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,429
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,200
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,836
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,919