- VS2019调试报错 DEP6957:未能使用“通用身份验证”连接到设备“127.0.0.1”。
ether_7
c#visualstudiovisualc++
VS2019调试报错DEP6957:未能使用“通用身份验证”连接到设备“127.0.0.1”。请验证项目调试中指定了正确的远程身份验证模式。COMException-由于目标计算机积极拒绝,无法连接。萌新刚刚开始学C#,用的是VisualC#从入门到精通(第9版),清华大学出版社,在其网站下载了一些例程,一边学一边调试,学到Switch语句应用时,打开了他的程序之后,调试老是报错,如下图所示:在网
- C#(blazor实现)中线程的开始、暂停、继续、停止与定时关闭代码实现
oioihoii
blazorc#开发语言
C#中线程的开始与停止使用CancellationTokenSource类,阻塞与非阻塞使用ManualResetEvent类以下为代码实现:TaskTest.razor@page"/Task"线程控制提示信息:@_message开始暂停继续停止定时取消@code{privateString_message="";privateCancellationTokenSource?_tokenSourc
- 遇到了Java学习的难题
yulele
当初学习Java编程的时候,一腔热血,颇有些废寝忘食的意思。终于能够在电脑上跑出一个模仿坦克大战的游戏,欣喜难耐,觉得这个世界都将被自己掌握。现在十年过去了,发现我的技术依然如旧,甚至倒退了。反思一下,固然有中途转而从事C#的缘故,主要还是故步自封,认为没有向前一步的必要,自己所学足够应付。所谓一叶障目,不见泰山。由此与真正的Java程序员失之交臂,而今回头再看,不禁跺足长叹,悔之晚矣。我很想重拾
- C# 使用 REST API HTTP 客户端生成器
心语明洲
http网络协议网络
本文内容使用AutoClientAttribute使用谓词属性定义HTTP方法HTTP有效负载HTTP头显示另外2个备注此API是实验性的。它可能会在后续版本的库中更改,并且无法保证向后兼容性。HttpClient是使用RESTAPI的好方法,但存在挑战。其中一个挑战是需要写入以使用API的样板代码量。本文介绍了如何使用Microsoft.Extensions.Http.AutoClientNuG
- C# 如何使用 System.Text.Json 启用不区分大小写的属性名称
心语明洲
jsonjava前端
本文将介绍如何使用System.Text.Json命名空间启用不区分大小写的属性名称匹配。不区分大小写的属性匹配默认情况下,反序列化会查找JSON与目标对象属性之间区分大小写的属性名称匹配。若要更改该行为,请将JsonSerializerOptions.PropertyNameCaseInsensitive设置为true:备注Web默认值为不区分大小写。C#复制varoptions=newJson
- DataGridView中数据存入数据库方法
Endora79
.net数据库datasetnullbutton.net工作
最近在做毕业设计,同时也在学习C#用到DataGridView时开始觉得很难,经过朋友的帮助和自己的努力,稍微的明白了一些,现在就把我写的方法写下来,大家一起学习,写的不好的地方也请指证。DataGridView做了新的数据显示控件加入到了.Net05中,其强大的编辑能力让其成为了数据显示中必不可少的控件。目前对于DataGridView中的更新讲的挺多的,但直接的插入数据好像讲的不是太多,下面就
- Everything原理探究以及C#实现
郭麻花
Windows编程C#EverythingUSN日志Windows文件查找
前言 这篇博文发布后,有人问我为什么和别人写的很相似。我说:原理能不相似吗。 但其实,Everything的原理并不是我钻研出来的,我只是看懂了别人的解析,别人的代码。所以称不上是原创文章,我深深的认识到了自己的错误。起因阅读本文时可以参照官方文档https://docs.microsoft.com/en-us/windows/win32/api/ 我写这个程序是用来当作《操作系
- C#中窗体之间的数据传递
aiqixiao2017
c#数据库
对于窗体间的数据传递,是刚开始从事.Net窗体应用程序开发人员碰到的一个常见问题,在此讲几个常见的实现方式。此节内容适用于模式窗体或非模式窗体,部分方式延伸到一般类的操作。(1)构造函数参数传递通过构造函数传递参数应该是比较基本的参数传递方式,重载构造函数,通过带参数的构造函数来实例化窗体。在窗体类内部定义参数变量,privateobjectmyParams;实现构造函数,publicOption
- 权重随机数
辛羊华
Unity3DC#unity3dc#
权重随机数需求场景应用代码需求场景Unity和C#中都提供的随机数的方法,但实际工作中我们常常需要对不同类型的情况有不同随机概率,这时候就需对随机数做权重处理。应用代码为此我抽离了一个随机数权重的静态类usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;//////权重随机数///publicstatic
- 六一节小礼物:C#版贪食蛇小游戏(含源码)
weixin_34090643
游戏c#开发工具
恭祝各位小朋友,大朋友,老朋友们六一节快乐!开发初衷:其实早在两年前就想写一个网络版的贪食蛇游戏,无赖当时琐事颇多,耽搁了,一放就是两年。今天吃晚饭时,鬼使神差地想到了早已夭折的贪食蛇游戏,于是决定编写这款游戏。网络版的?算了吧,先开发单机版滴,呵呵。开发工具/语言的选择:VistualStuido2005+C#。虽说用C#开发游戏有点不可思议,但小弟不才,接触语言不多,就会点C#,所以没得选择,
- C# UDP 连接 OMRON PLC 读写数据
choglala
UDP实现OMRON的读写生成读OMRON数据命令方法://////生成读取命令//////plc节点号///本机节点号///读的地址的数据区例如:D600///读取的数据的个数15表示D600-D615///读取的地址plcD区:0x82plcH区:0xB2///生成的命令publicstaticbyte[]CmdOmlonReadData(bytebyPlcDot,bytebyLocalDot
- C#数据类型(转自荷塘秋色的博客)
weixin_33834679
c#c/c++
C#编程中,大家会经常使用到不同的数据类型,那么C#编程语言到底有什么类型呢?具体如下:1.1值类型各种值类型总是含有相应该类型的一个值。C#迫使你初始化变量才能使用它们进行计算-变量没有初始化不会出问题,因为当你企图使用它们时,编译器会告诉你。每当把一个值赋给一个值类型时,该值实际上被拷贝了。相比,对于引用类型,仅是引用被拷贝了,而实际的值仍然保留在相同的内存位置,但现在有两个对象指向了它(引用
- Java JNI 调用C#方法
sweetwxh
在编写Java应用程序当中,可以利用C或者CPP来编写DLL函数,然后再Java当中进行调用,从而实现对本地API的调用,这两天因为业务需要,要利用Java调用C#函数。于是研究了一下,发现可以通过ManageC++来实现对C#函数的调用。具体方法如下:首先还是编写Java,利用javah生成CPP头文件。然后跟普通JNI编写过程一样。然后在JNI的借口函数出调用ManageC++方法。不过首先要
- Visual Studio .Net团队开发(Visual SourceSave6.0 在C#中的应用)
qq_net
项目管理.net数据库microsoftvss服务器archive
目录:〇、摘要一、开发前的准备二、创建空的SourceSafe数据库三、新建项目并加入版本控制四、获取SourceSafe中的项目五、版本控制的几个概念六、版本控制项目的管理七、总结〇、摘要在企业开发环境中,源代码管理占据着重要的一环。本文将通过一个实例,创建一个源代码管理的项目SourceManager,来讲述如何使用VisualStudio.Net开发环境,配合VisualSourceSafe
- winform程序不一定要用Main() 函数做入口
q122281069
.netwinform
学习Winform这么久了,还没想过一个程序是如何被载入的,甚至连里面变量如何初始化,都没有仔细的考虑过,今天抽了点时间验证了一下自己突然然到的东西,首先说一点基础的东西,一个类在被载入时(首次用一个类时),会先被始化静态成员变量,然后是静态构造函数,然后才是自己的操作.既然是这样,那可以想一下,在C#中Main函数不也是在一个类中的吗,那样也就会先初始化静态成员的,所以只要一点的代码就可以实现其
- C#:属性中出现的坑
buaazyp
C#
C#中使用了属性这种技术,从我浅薄的技术能力来看,是看不出这种技术有什么好处的,反而会在一些意想不到的情况埋下深坑,一不小心就把自己埋了。这篇博客就是用来记录C#属性中的深坑(一):属性是什么C#中定义类的时候可能会出现函数,属性一般会以如下形式出现,publicstaticdoubletheta{get;set;}或者是这样publicstaticdoubletheta{get{return_t
- C# 时段计费算法
想起你的日子
留点什么?希望别人有用……一天分成多个时间段,各个时段不同的费用,以前在小软件上有做个类似的,但现在发觉之前的方法还是有点小问题了,而今无聊之余,重新整理思绪,算是做了些优化吧源码:https://download.csdn.net/download/wysdong/10883293(源码加上去,就不能删!~,所有源码的类CalcM,还是用文章后面的吧)usingSystem;usingSyste
- C# 微信(小程序)支付
想起你的日子
简单的实现了小程序支付,对应的api接口.usingSenparc.CO2NET.Cache;usingSenparc.CO2NET.Helpers;usingSenparc.CO2NET.Utilities;usingSenparc.Weixin;usingSenparc.Weixin.Exceptions;usingSenparc.Weixin.TenPay;usingSenparc.Weix
- C#单例模式
tobaccosoft
C#开发专栏
第一种最简单,但没有考虑线程安全,在多线程时可能会出问题,不过俺从没看过出错的现象,表鄙视我……publicclassSingleton{privatestaticSingleton_instance=null;privateSingleton(){}publicstaticSingletonCreateInstance(){if(_instance==null){_instance=newSin
- C# winform获取当前屏幕dpi缩小缩放比例
aidnexl
C#.net
//////获取电脑缩放比例//////publicfloatGetWinScaling(){intdpiX;Graphicsgraphics=this.CreateGraphics();dpiX=(Int32)graphics.DpiX;if(dpiX==96){return1;}elseif(dpiX==120){return1.25f;}elseif(dpiX==144){return1.5
- C# 利用开源项目SharpSsh远程执行linux的shell命令源码
weixin_30252709
SharpSSH是一个C#的开源项目,可以利用SSH连接linux系统。并执行shell等命令项目中提供的例子的输入输出都是定向到console的。。所以只能用户输入命令然后返回结果,但我们想从C#中获取它的结果却不容易。所以后面我会简单改一下源码。。就可以获取返回结果了。要执行ssh,请确保linux主机上的服务已启用:servicesshdstart首先看下提供的例子代码和执行结果。。就不多说
- C#采集器
weixin_30877227
http://www.cnblogs.com/duoe/archive/2007/12/16/996664.html转载于:https://www.cnblogs.com/achun/archive/2008/03/07/1095420.html
- VC2008/CLR MessageBox
ddv1999
C.C++.C#.VC
最近正在慢慢了解VC2008/CLR的特性。最常用的,怕是这个MessageBox,还有新的字符串String,有别于CString.String是.netFramework的类在VC2008中要这样定义一个String类,注意大小写,和C#string的全小写是不同的。String^str;当然,它有自己的方法。其中format有时间想看一下了。MessageBox.Show这句要是在C#中用,
- C#中也可使用对象数组
anglexiaoher
C#
对象数组即对象类型的数组,如:publicclassA;A[]abc=newA[3];此数组abc为类A的类型,长度为3。原以为C#中不可以使用对象数组,今天一试竟然通过,我每次遇到这种情况我都会选择泛型集合,现在才知道用数组比用泛型集合效率高的多。以下代码是我试验对象数组的代码。publicclassProgram{staticvoidMain(string[]args){abc[]ac=new
- AD如何用C#进行增删改、查询用户与OU
weixin_30678821
AD如何用C#进行增删改、查询用户与OU正文:首先我们来了解一下什么是ActiveDirectory。不用我描述,看以下网址,或在.net自带帮助文档里根据ActiveDirectory关键字一搜,就什么都明白了。http://developer.ccidnet.com/pub/article/c322_a28703_p2.html接下来,我们来看看权限。你可以通过“网上邻居--整个网络--Dir
- Active Directory如何用C#进行增加、删除、修改、查询用户与组织单位(转)
bao500600
http://www.pc123.org/html/net/asp_net/200806/16_3101.html首先我们来了解一下什么是ActiveDirectory。不用我描述,看以下网址,或在.net自带帮助文档里根据ActiveDirectory关键字一搜,就什么都明白了。接下来,我们来看看权限。你可以通过“网上邻居--整个网络--Directory--demain(你的域名)”你就可以看
- 戏说面向对象程序设计
luomingchu
编程思想
戏说面向对象程序设计C#版目录代序..............四大发明之活字印刷——面向对象思想的胜利第一章............面试受挫——代码无错就是好?第二章............代码规范、重构第三章............复制VS复用第四章............业务的封装第五章............体会简单工厂模式的美妙第六章............工厂不好用了?第七章......
- 有关C#中接口的概念及使用
sulu
.net技术类
摘自http://www.lemongtree.com/zh-cn/0000218.aspx第一节接口慨述接口(interface)用来定义一种程序的协定。实现接口的类或者结构要与接口的定义严格一致。有了这个协定,就可以抛开编程语言的限制(理论上)。接口可以从多个基接口继承,而类或结构可以实现多个接口。接口可以包含方法、属性、事件和索引器。接口本身不提供它所定义的成员的实现。接口只指定实现该接口的
- 一点一点学C#3
Steppedby
c#
从控制台读入数字的方法:C#提供了Console.ReadLine();的方法从控制台读入数据,但是读入的是字符串,所以可以用Prase或者Convert转换。usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespaceConso
- 多学学英语挺好的
大洪
因为工作,我们准备从原来的C#改成Java编写的服务后台,对Java不太熟悉。只能从头学习Java了。听从主任的建议,从Oracle官网学习Java。我非常相信主任的看法,也相信官网的权威。相当年Sun开发了Java,因为自身问题以及微软的逼迫,将Java给了好友Oracle,Oracle也很重视这个苗子,一直悉心呵护,助她成长。这就Java(盗的图,图源自日本作家渡辺将人)只不过全是英文教程,看
- 312个免费高速HTTP代理IP(能隐藏自己真实IP地址)
yangshangchuan
高速免费superwordHTTP代理
124.88.67.20:843
190.36.223.93:8080
117.147.221.38:8123
122.228.92.103:3128
183.247.211.159:8123
124.88.67.35:81
112.18.51.167:8123
218.28.96.39:3128
49.94.160.198:3128
183.20
- pull解析和json编码
百合不是茶
androidpull解析json
n.json文件:
[{name:java,lan:c++,age:17},{name:android,lan:java,age:8}]
pull.xml文件
<?xml version="1.0" encoding="utf-8"?>
<stu>
<name>java
- [能源与矿产]石油与地球生态系统
comsci
能源
按照苏联的科学界的说法,石油并非是远古的生物残骸的演变产物,而是一种可以由某些特殊地质结构和物理条件生产出来的东西,也就是说,石油是可以自增长的....
那么我们做一个猜想: 石油好像是地球的体液,我们地球具有自动产生石油的某种机制,只要我们不过量开采石油,并保护好
- 类与对象浅谈
沐刃青蛟
java基础
类,字面理解,便是同一种事物的总称,比如人类,是对世界上所有人的一个总称。而对象,便是类的具体化,实例化,是一个具体事物,比如张飞这个人,就是人类的一个对象。但要注意的是:张飞这个人是对象,而不是张飞,张飞只是他这个人的名字,是他的属性而已。而一个类中包含了属性和方法这两兄弟,他们分别用来描述对象的行为和性质(感觉应该是
- 新站开始被收录后,我们应该做什么?
IT独行者
PHPseo
新站开始被收录后,我们应该做什么?
百度终于开始收录自己的网站了,作为站长,你是不是觉得那一刻很有成就感呢,同时,你是不是又很茫然,不知道下一步该做什么了?至少我当初就是这样,在这里和大家一份分享一下新站收录后,我们要做哪些工作。
至于如何让百度快速收录自己的网站,可以参考我之前的帖子《新站让百
- oracle 连接碰到的问题
文强chu
oracle
Unable to find a java Virtual Machine--安装64位版Oracle11gR2后无法启动SQLDeveloper的解决方案
作者:草根IT网 来源:未知 人气:813标签:
导读:安装64位版Oracle11gR2后发现启动SQLDeveloper时弹出配置java.exe的路径,找到Oracle自带java.exe后产生的路径“C:\app\用户名\prod
- Swing中按ctrl键同时移动鼠标拖动组件(类中多借口共享同一数据)
小桔子
java继承swing接口监听
都知道java中类只能单继承,但可以实现多个接口,但我发现实现多个接口之后,多个接口却不能共享同一个数据,应用开发中想实现:当用户按着ctrl键时,可以用鼠标点击拖动组件,比如说文本框。
编写一个监听实现KeyListener,NouseListener,MouseMotionListener三个接口,重写方法。定义一个全局变量boolea
- linux常用的命令
aichenglong
linux常用命令
1 startx切换到图形化界面
2 man命令:查看帮助信息
man 需要查看的命令,man命令提供了大量的帮助信息,一般可以分成4个部分
name:对命令的简单说明
synopsis:命令的使用格式说明
description:命令的详细说明信息
options:命令的各项说明
3 date:显示时间
语法:date [OPTION]... [+FORMAT]
- eclipse内存优化
AILIKES
javaeclipsejvmjdk
一 基本说明 在JVM中,总体上分2块内存区,默认空余堆内存小于 40%时,JVM就会增大堆直到-Xmx的最大限制;空余堆内存大于70%时,JVM会减少堆直到-Xms的最小限制。 1)堆内存(Heap memory):堆是运行时数据区域,所有类实例和数组的内存均从此处分配,是Java代码可及的内存,是留给开发人
- 关键字的使用探讨
百合不是茶
关键字
//关键字的使用探讨/*访问关键词private 只能在本类中访问public 只能在本工程中访问protected 只能在包中和子类中访问默认的 只能在包中访问*//*final 类 方法 变量 final 类 不能被继承 final 方法 不能被子类覆盖,但可以继承 final 变量 只能有一次赋值,赋值后不能改变 final 不能用来修饰构造方法*///this()
- JS中定义对象的几种方式
bijian1013
js
1. 基于已有对象扩充其对象和方法(只适合于临时的生成一个对象):
<html>
<head>
<title>基于已有对象扩充其对象和方法(只适合于临时的生成一个对象)</title>
</head>
<script>
var obj = new Object();
- 表驱动法实例
bijian1013
java表驱动法TDD
获得月的天数是典型的直接访问驱动表方式的实例,下面我们来展示一下:
MonthDaysTest.java
package com.study.test;
import org.junit.Assert;
import org.junit.Test;
import com.study.MonthDays;
public class MonthDaysTest {
@T
- LInux启停重启常用服务器的脚本
bit1129
linux
启动,停止和重启常用服务器的Bash脚本,对于每个服务器,需要根据实际的安装路径做相应的修改
#! /bin/bash
Servers=(Apache2, Nginx, Resin, Tomcat, Couchbase, SVN, ActiveMQ, Mongo);
Ops=(Start, Stop, Restart);
currentDir=$(pwd);
echo
- 【HBase六】REST操作HBase
bit1129
hbase
HBase提供了REST风格的服务方便查看HBase集群的信息,以及执行增删改查操作
1. 启动和停止HBase REST 服务 1.1 启动REST服务
前台启动(默认端口号8080)
[hadoop@hadoop bin]$ ./hbase rest start
后台启动
hbase-daemon.sh start rest
启动时指定
- 大话zabbix 3.0设计假设
ronin47
What’s new in Zabbix 2.0?
去年开始使用Zabbix的时候,是1.8.X的版本,今年Zabbix已经跨入了2.0的时代。看了2.0的release notes,和performance相关的有下面几个:
:: Performance improvements::Trigger related da
- http错误码大全
byalias
http协议javaweb
响应码由三位十进制数字组成,它们出现在由HTTP服务器发送的响应的第一行。
响应码分五种类型,由它们的第一位数字表示:
1)1xx:信息,请求收到,继续处理
2)2xx:成功,行为被成功地接受、理解和采纳
3)3xx:重定向,为了完成请求,必须进一步执行的动作
4)4xx:客户端错误,请求包含语法错误或者请求无法实现
5)5xx:服务器错误,服务器不能实现一种明显无效的请求
- J2EE设计模式-Intercepting Filter
bylijinnan
java设计模式数据结构
Intercepting Filter类似于职责链模式
有两种实现
其中一种是Filter之间没有联系,全部Filter都存放在FilterChain中,由FilterChain来有序或无序地把把所有Filter调用一遍。没有用到链表这种数据结构。示例如下:
package com.ljn.filter.custom;
import java.util.ArrayList;
- 修改jboss端口
chicony
jboss
修改jboss端口
%JBOSS_HOME%\server\{服务实例名}\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml
中找到
<!-- The ports-default bindings are obtained by taking the base bindin
- c++ 用类模版实现数组类
CrazyMizzz
C++
最近c++学到数组类,写了代码将他实现,基本具有vector类的功能
#include<iostream>
#include<string>
#include<cassert>
using namespace std;
template<class T>
class Array
{
public:
//构造函数
- hadoop dfs.datanode.du.reserved 预留空间配置方法
daizj
hadoop预留空间
对于datanode配置预留空间的方法 为:在hdfs-site.xml添加如下配置
<property>
<name>dfs.datanode.du.reserved</name>
<value>10737418240</value>
 
- mysql远程访问的设置
dcj3sjt126com
mysql防火墙
第一步: 激活网络设置 你需要编辑mysql配置文件my.cnf. 通常状况,my.cnf放置于在以下目录: /etc/mysql/my.cnf (Debian linux) /etc/my.cnf (Red Hat Linux/Fedora Linux) /var/db/mysql/my.cnf (FreeBSD) 然后用vi编辑my.cnf,修改内容从以下行: [mysqld] 你所需要: 1
- ios 使用特定的popToViewController返回到相应的Controller
dcj3sjt126com
controller
1、取navigationCtroller中的Controllers
NSArray * ctrlArray = self.navigationController.viewControllers;
2、取出后,执行,
[self.navigationController popToViewController:[ctrlArray objectAtIndex:0] animated:YES
- Linux正则表达式和通配符的区别
eksliang
正则表达式通配符和正则表达式的区别通配符
转载请出自出处:http://eksliang.iteye.com/blog/1976579
首先得明白二者是截然不同的
通配符只能用在shell命令中,用来处理字符串的的匹配。
判断一个命令是否为bash shell(linux 默认的shell)的内置命令
type -t commad
返回结果含义
file 表示为外部命令
alias 表示该
- Ubuntu Mysql Install and CONF
gengzg
Install
http://www.navicat.com.cn/download/navicat-for-mysql
Step1: 下载Navicat ,网址:http://www.navicat.com/en/download/download.html
Step2:进入下载目录,解压压缩包:tar -zxvf navicat11_mysql_en.tar.gz
- 批处理,删除文件bat
huqiji
windowsdos
@echo off
::演示:删除指定路径下指定天数之前(以文件名中包含的日期字符串为准)的文件。
::如果演示结果无误,把del前面的echo去掉,即可实现真正删除。
::本例假设文件名中包含的日期字符串(比如:bak-2009-12-25.log)
rem 指定待删除文件的存放路径
set SrcDir=C:/Test/BatHome
rem 指定天数
set DaysAgo=1
- 跨浏览器兼容的HTML5视频音频播放器
天梯梦
html5
HTML5的video和audio标签是用来在网页中加入视频和音频的标签,在支持html5的浏览器中不需要预先加载Adobe Flash浏览器插件就能轻松快速的播放视频和音频文件。而html5media.js可以在不支持html5的浏览器上使video和audio标签生效。 How to enable <video> and <audio> tags in
- Bundle自定义数据传递
hm4123660
androidSerializable自定义数据传递BundleParcelable
我们都知道Bundle可能过put****()方法添加各种基本类型的数据,Intent也可以通过putExtras(Bundle)将数据添加进去,然后通过startActivity()跳到下一下Activity的时候就把数据也传到下一个Activity了。如传递一个字符串到下一个Activity
把数据放到Intent
- C#:异步编程和线程的使用(.NET 4.5 )
powertoolsteam
.net线程C#异步编程
异步编程和线程处理是并发或并行编程非常重要的功能特征。为了实现异步编程,可使用线程也可以不用。将异步与线程同时讲,将有助于我们更好的理解它们的特征。
本文中涉及关键知识点
1. 异步编程
2. 线程的使用
3. 基于任务的异步模式
4. 并行编程
5. 总结
异步编程
什么是异步操作?异步操作是指某些操作能够独立运行,不依赖主流程或主其他处理流程。通常情况下,C#程序
- spark 查看 job history 日志
Stark_Summer
日志sparkhistoryjob
SPARK_HOME/conf 下:
spark-defaults.conf 增加如下内容
spark.eventLog.enabled true spark.eventLog.dir hdfs://master:8020/var/log/spark spark.eventLog.compress true
spark-env.sh 增加如下内容
export SP
- SSH框架搭建
wangxiukai2015eye
springHibernatestruts
MyEclipse搭建SSH框架 Struts Spring Hibernate
1、new一个web project。
2、右键项目,为项目添加Struts支持。
选择Struts2 Core Libraries -<MyEclipes-Library>
点击Finish。src目录下多了struts