解决办法: 在每个新建的类的第一行加入以下内容即可/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE fi.....
                            
                            
                                分类:
Web程序   时间:
2014-10-15 13:06:10   
                                阅读次数:
519
                             
                         
                    
                        
                            
                            
                                在项目的pom.xml文件中加入以下内容 <build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.1</version>
				...
                            
                            
                                分类:
其他好文   时间:
2014-10-14 16:26:59   
                                阅读次数:
201
                             
                         
                    
                        
                            
                            
                                实现select组件的选择输入过滤作用的js代码如下:/***其中//******之间的部分显示的是在没有选择输入过滤功能的代码上加入的功能代码**//** * @description This plugin allows you to make a select box editable lik...
                            
                            
                                分类:
其他好文   时间:
2014-10-13 22:54:27   
                                阅读次数:
271
                             
                         
                    
                        
                            
                            
                                1.背景            虽然可能大神门在编辑器方面都比较偏向于vim之类的自由度更高的工具,但是从我个人来讲sublime这样的插件安装更方便的工具还是比较得心应手的。之前用sublime写英语作文,但是没有一个比较好用的timer,Package_Control里面的track_timer不能实时显示时间,所以博主就自己动手,写了这个插件,可以实时timer,记录时间。效果如下图,2.使...
                            
                            
                                分类:
其他好文   时间:
2014-10-13 12:18:59   
                                阅读次数:
233
                             
                         
                    
                        
                            
                            
                                首先说明一下配置的环境系统:Ubuntu14.0.4IDE:eclipse 4.4.1Hadoop:Hadoop 2.2.0 对于Hadoop的旧版本,可以直接复制 hadoop安装目录/contrib/eclipse-plugin/hadoop-0.20.203.0-eclipse-plug...
                            
                            
                                分类:
系统相关   时间:
2014-10-12 14:00:38   
                                阅读次数:
526
                             
                         
                    
                        
                            
                            
                                google 网站打不开,总是提示Your connection is not private等信息,针对chrome可以通过以下方式解决:打开链接chrome://flags.找到quic相关的两项,设置为启动,即可。2、针对ubuntu下谷歌浏览器flash plugin安装现在adobe fl...
                            
                            
                                分类:
Web程序   时间:
2014-10-11 15:13:45   
                                阅读次数:
3905
                             
                         
                    
                        
                            
                            
                                eclipse主题 更改Color Theme http://eclipsecolorthemes.org/下载color theme。 Each theme can be downloaded in two formats, *.xml and *.epf. You can either install the Eclipse Color Theme plugin and ...
                            
                            
                                分类:
系统相关   时间:
2014-10-11 14:01:26   
                                阅读次数:
266
                             
                         
                    
                        
                            
                            
                                所需要的包:struts2-config-browser-plugin-2.3.15.2.jarstruts2-convention-plugin-2.3.15.2.jar 要注意的是,添加这两个jar包之后也要把相关的struts的jar包换成相应的版本,xwork-core也要是相应的版本,不....
                            
                            
                                分类:
其他好文   时间:
2014-10-11 04:11:45   
                                阅读次数:
284
                             
                         
                    
                        
                            
                            
                                Maven默认打包生成的jar是不能够直接运行的,因为带有main方法的类信息不会添加到manifest中(打开jar文件中的META-INF/MANIFEST.MF文件,将无法看到Main-Class一行)。为了生成可执行的jar文件,需要借组maven-shade-plugin,配置该插件如下:...
                            
                            
                                分类:
其他好文   时间:
2014-10-10 22:51:04   
                                阅读次数:
436
                             
                         
                    
                        
                            
                            
                                使用m2eclipse可能遇到如下错误[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hello-world:...
                            
                            
                                分类:
其他好文   时间:
2014-10-10 22:21:04   
                                阅读次数:
400