- 浏览: 66026 次
- 性别:
- 来自: 青岛
-
最新评论
文章列表
1、oracle安装会自动的生存sys用户、scott用户和system用户。
(1)sys用户是 超级用户,具有最高权限,具有sysdba角色,有create database的权限,该用户默认的密码是 change_on_install;
(2)system用户是 管理操作员,权限也很大。具有sys ...
Source Insight,一个无比强大的工具。一个很好的查看代码的工具。到它的官网上去看一下,就知道,世界上基本上所有的大的软件公司,都在用这个工具。
习惯了这个工具以后,你会无法忍受其它的代码编辑和查看工具。
官方下载地址:
http://www.sourceinsight.com/distribute/Si3563Setup.exe
官方网站:
http://www.sourceinsight.com/
注册码:
SI3US-230590-09757
SI3US-840598-11493
SI3US-404808-04697
SI3US-510811-93484
SI3US-34306 ...
1 conn sys/password as sysdba;
2.更新system账号密码
alter user system identifited by password;
3.为system 用户授权
grant sysoper to system;
1 首先先下载好Oracle安装包(这个就不用说了,上Oracle官网自己找下载入口),将下载好后的两个压缩文件解压至同一文件夹下,该文件夹为database;
2 解压完毕后,在该目录下打开setup.exe,执行安装程序后会出现启动安装的命令提示符,进入安装;
3 稍等一会儿,就会出现以下安装步骤,取消复选框勾选,点击下一步继续,并单击“是”继续
4 之后出现以下安装框,默认点击“下一步”继续,
5 选择安装“桌面类”和“服务器类”,当然服务器类是安装的在Windows server上的,Win7就选择“桌面类”安装即可
6 接下来进入安装配置,密码口令为大小写数字拼成的口令 ...
Alt+回车 导入包,自动修正
Ctrl+N 查找类
Ctrl+Shift+N 查找文件
Ctrl+Alt+L 格式化代码
Ctrl+Alt+O 优化导入的类和包
Alt+Insert 生成代码(如get,set方法,构造函数等)
Ctrl+E或者Alt+Shift+C 最近更改的代码
Ctrl+R 替换文本
Ctrl+F 查找文本
Ctrl+Shift+Space 自动补全代码
Ctrl+空格 代码提示
Ctrl+Alt+Space 类名或接口名提示
Ctrl+P 方法参数提示
Ctrl+Shift+Alt+N 查找类中的方法或变量
Alt+Shift+C 对比最近修改的代码
Sh ...
Windows 7 sometimes breaks FTP connections on Java 7 if firewall is enabled.
Command
netsh advfirewall set global StatefulFTP disable
usually fixes the problem.
PowerDesigner使用教程
http://www.cnblogs.com/langtianya/archive/2013/03/08/2949118.html
CodeSmith和PowerDesigner的使用安装和数据库创建(原创系列教程)
http://www.cnblogs.com/huangcong/archive/2010/06/14/1757957.html
如上图方式 相当于maven的命令
mvn antrun:run -Pinit-db
一 三套生命周期
1 compile
2 clean
3 site
二 和生命周期相关的是插件
1 插件地址
http://maven.apache.org/plugins/index.html
2 pom.xml 插件配置
<build>
<plugins>
<plugin>
<!--插件的配置-->
<groupId></groupId>
<artifactId></arti ...
1 下载
https://www.sonatype.com/download-oss-sonatype
2 安装与配置
1) 解压
2) 将解压目录\nexus-2.14.0-01\bin加入到path环境变量中
3) cmd窗口执行nexus出现以下
Usage: nexus { console : start : stop : restart : install : uninstall }
4) 修改配置文件
打开 nexus-2.14.0-01\bin\jsw\conf\wrapper.conf 找到
# Set the JVM executab ...
用Eclipse + m2e 插件新建maven项目时发现archetype太少了,网上搜索如何添加额外的archetype.
http://maven.apache.org/archetype/maven-archetype-plugin/specification/archetype-catalog.html
The Archetype Plugin knows by default about its internal catalog. It also knows about the local and remote catalogs.
local represents the ...
在注册时Help—Register,选择 License server ,在License server address中填
[url]http://idea.iteblog.com/key.php [/url]
,然后点击 OK,一切done!
参考:
http://blog.csdn.net/u012522829/article/details/52161877
使用IDEA进行maven开发时,将新项目import进工作空间时,Maven Projects栏中的dependencies中总是有红色波浪线,如下图:
但是这些jar在我本地的maven仓库中实际上是存在的,后来无意中修改了下pom才发现这有可能是IDEA的bug,解决办法是:
对于有波浪线的dependency,将其从pom中删除,保存后,再撤销回来,奇迹出现了。。。。很无语的一个问题。
参考:
http://blog.csdn.net/shiqidide/article/details/50519319
我们用Eclipse创建Maven结构的web项目的时候选择了Artifact Id为maven-artchetype-webapp,由于这个catalog比较老,用的servlet还是2.3的,而一般现在至少都是2.5,在Project Facets里面修改Dynamic web module为2.5的时候就会出现Cannot change version of project facet Dynamic web module to 2.5,如图:
其实在右边可以看到改到2.5需要的条件以及有冲突的facets,解决这个问题的步骤如下:
1.把Servlet改成2.5,打开项目的we ...
当每次update project后jdk就会变成1.5的这点真的很讨厌真好像是maven的特性但是我们可以在pom里给它强制指定一下
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
...