![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web-java
做我想做
这个作者很懒,什么都没留下…
展开
-
eclipse下编写servlet学习java web起步,
java web的运行,通过开发工具编写的java程序原创 2014-11-08 14:52:27 · 767 阅读 · 0 评论 -
Grunt学习笔记之Gruntfile中任务的配置
**开篇言** 学习grunt的目的就是要使用grunt来为我们处理一下事情,譬如:压缩css、js文件,去掉css、js文件中的注释、空格等等。要处理这些任务就需要我们为grunt进行相应的任务配置。如何来配置,这就是我们今天的课题。 Grunt的任务配置都是在 Gruntfile 中的grunt.initConfig方法中指定进行的,Gruntfile本身就是一个javascript文件,它不仅原创 2015-09-23 13:16:41 · 481 阅读 · 0 评论 -
Spring + hibernate5 搭建web配置事务处理
方法一: Spring配置文件中添加: META-INF/hibernate.properties //hibernate的配置文件原创 2015-10-11 08:33:35 · 6073 阅读 · 0 评论 -
struts+hibernate+spring整合过程常见问题收集
1.java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor 缺少asm-3.3.jar 2.java.lang.NoClassDefFoundError: org/objectweb/asm/commons/EmptyVisitor 缺少asm-commons-3.3.jar 3.java.lang.ClassNotFo转载 2015-09-19 22:13:47 · 1377 阅读 · 0 评论 -
mac Can't connect to MySQL server on '127.0.0.1' (61)
Mac 下安装mysql,安装完成后是无用户无密码的状态,并且数据库只有 information_schema,可以通过命令查看 xxxxxxxMac-mini:bin fighting$ mysql mysql> show databases; 这就需要我们手动的处理一下,处理过程如下 1、停止MySQL sudo /usr/local/mysql/support-原创 2015-09-20 08:31:23 · 26750 阅读 · 0 评论 -
spring4整合hibernate5报错解决
2015-09-19 21:50:34,525 WARN org.springframework.web.context.support.XmlWebApplicationContext.refresh:544 - Exception encountered during context initialization - cancelling refresh attempt org.springf原创 2015-09-19 21:58:42 · 13567 阅读 · 0 评论 -
使用Maven来管理项目-使用Maven来创建一个Maven项目(二)
创建一个Maven项目我们使用使用Maven的一个插件(Maven Archetype Plugin),这个插件为我们提供了一个创建Maven项目的模板(Archetype),这里说的创建一个Maven项目是使用Maven插件命名,没有使用IDE,使用开发IDE请搜索项目资料学习。备注:archetype是一个Maven项目管理模板 相关命令: archetype:create (已经弃用)使原创 2015-09-08 11:17:13 · 467 阅读 · 0 评论 -
使用Maven来管理项目-pom.xml详细解读(三)
<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原创 2015-09-09 17:10:09 · 4866 阅读 · 0 评论 -
使用Maven来管理项目-Maven安装配置(一)
一、安装Maven首先要安装jdk,检查JDK是否安装使用命令:java -versino就可以看到你安装的jdk的版本信息,没有安装请百度知。二、下载Mavn安装包安装到自己的电脑上,下载地址:http://maven.apache.org/download.cgi 解压二进制的zip包或tar.gz你要安装的位置unzip apache-maven-3.3.3-bin.zip 或者 tar原创 2015-09-08 10:53:18 · 480 阅读 · 0 评论 -
myeclipse2015不能启动tomcat,提示: Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at local
myeclipse2015不能启动tomcat,提示: Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process原创 2015-05-17 19:42:21 · 24943 阅读 · 0 评论 -
Could not publish server configuration for Tomcat v8.0 Server at localhost.
Could not publish server configuration for Tomcat v8.0 Server at localhost. Context with path “/jspDemo” conflicts with another Context with path “/JspDemo”.修改 如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文原创 2015-05-11 22:23:41 · 21656 阅读 · 0 评论 -
HTTP Status 500 - Error instantiating servlet class com.myServlet.Hello
HTTP Status 500 - Error instantiating servlet class com.myServlet.Hello原创 2014-11-08 13:46:08 · 4586 阅读 · 2 评论 -
在使用struts时出现问题: The absolute uri: http://jakarta.apache.org/struts/tags-bean cannot be resol
The absolute uri: http://jakarta.apache.org/struts/tags-bean cannot be resol问题解决: 这个是找不到的原因,原创 2014-11-01 13:43:51 · 1892 阅读 · 0 评论 -
servlet sendRedirect Invalid character constant
servlet 的响应对象原创 2014-11-08 14:10:39 · 557 阅读 · 0 评论 -
Grunt学习笔记之开发环境的搭建与创建一个基本的项目
**开篇言** Grunt需要在Nodejs的环境,Grunt和 Grunt 插件是通过 Nodejs的包管理器(npm) 安装并管理。 查看是否已经安装nodejs,如果已经安装nodejs,在安装Grunt之前确保nodejs是最新的版本,更新nodejs,执行 npm update -g npm 指令进行升级(在某些系统中可能需要 sudo 指令)。 搭建Grunt的环境时,不会安装Grunt原创 2015-09-23 12:05:16 · 1894 阅读 · 0 评论