sqoop1使用java报Can't get Kerberos principal renewer

全部代码如下

**sqoop1使用java api过Kerberos出现Can't get Master Kerberos principal for use as renewer
**

 public class SqoopTest {

    public static void main(String[] args) throws Exception {
        // =================================================================
        Configuration conf = new Configuration();
        conf.set("fs.default.name", "hdfs://101.30.188.246:9000/");//设置HDFS服务地址
        String keytabFile = "/home/hcj/tab/hdfs.keytab";
        String principle = "hdfs@MSO.COM";
        String krbConf = "/home/hcj/krb5.conf";
        System.setProperty("java.security.krb5.conf", krbConf);
        conf.set("hadoop.security.authentication", "Kerberos");
        //conf.setBoolean("fs.hdfs.imHADOpl.disable.cache", true);
        conf.set("keytab.file", keytabFile);
        UserGroupInformation.setConfiguration(conf);
        UserGroupInformation.loginUserFromKeytab(principle, keytabFile);
        // =================================================================
        String[] arg = new String[] {
                // Oracle数据库信息

                /*
                 * sqoop export --connect  jdbc:mysql://127.0.0.1:3306/test  --username jamie  --table  
                 * persons --export-dir /user/hive/warehouse/dw_api_server.db/persons2/ 
                 * --input-fields-terminated-by '\t' --input-lines-terminated-by '\n'
                 */
                "--connect","jdbc:mysql://114.115.156.37:3306/test",
                "--username","root",
                "--password","root",
                "--table","persons",
                "--m","1",
                "--export-dir","hdfs://101.30.188.246:9000/user/hive/warehouse/dw_api_server.db/persons/",
                "--input-fields-terminated-by","\t"
                //"-columns","id,city"
        };



        String[] expandArguments = OptionsFileUtil.expandArguments(arg);
        SqoopTool tool = SqoopTool.getTool("export");

        Configuration loadPlugins = SqoopTool.loadPlugins(conf);




        Sqoop sqoop = new Sqoop((com.cloudera.sqoop.tool.SqoopTool) tool, loadPlugins);
        int res = Sqoop.runSqoop(sqoop, expandArguments);
        if (res == 0)
            System.out.println ("成功");

    }

}

报错

 java.io.IOException: Can't get Master Kerberos principal for use as renewer
    at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:133)
    at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:100)
    at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:80)
    at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:166)
    at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)
    at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:422)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
    at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)
    at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)
    at org.apache.sqoop.mapreduce.ExportJobBase.doSubmitJob(ExportJobBase.java:322)
    at org.apache.sqoop.mapreduce.ExportJobBase.runJob(ExportJobBase.java:299)
    at org.apache.sqoop.mapreduce.ExportJobBase.runExport(ExportJobBase.java:440)
    at org.apache.sqoop.manager.SqlManager.exportTable(SqlManager.java:931)
    at org.apache.sqoop.tool.ExportTool.exportTable(ExportTool.java:80)
    at org.apache.sqoop.tool.ExportTool.run(ExportTool.java:99)
    at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
    at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
    at com.mshuoke.datagw.impl.sqoop.SqoopTest.main(SqoopTest.java:58)

求解

1个回答

这个似乎和你的问题类似 http://lookqlp.iteye.com/blog/2162495
增加yarn gateway

jepsonz
jepsonz 回复u011856283: 嗨,哥们,你后来有解决掉这个问题么,我目前也遇到的同样的问题,用keytab过kerberos认证之后,再用sqoop的api来执行sqoop,也报了同样的错误
大约一年之前 回复
u011856283
你好杰米 http://www.kevin517.win/2017/11/21/E8%BF%9E%E6%8E%A5%E5%B8%A6%E6%9C%89%20Kerberos%20%E8%AE%A4%E8%AF%81%E7%9A%84%20Hadoop%20%20HBase%20Spark/
一年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
sqoop1使用java报Can't get Kerberos principal renewer
n全部代码如下nn**sqoop1使用java api过Kerberos出现Can't get Master Kerberos principal for use as renewern**n```n public class SqoopTest n n public static void main(String[] args) throws Exception n // =================================================================n Configuration conf = new Configuration();n conf.set("fs.default.name", "hdfs://101.30.188.246:9000/");//设置HDFS服务地址n String keytabFile = "/home/hcj/tab/hdfs.keytab";n String principle = "hdfs@MSO.COM";n String krbConf = "/home/hcj/krb5.conf";n System.setProperty("java.security.krb5.conf", krbConf);n conf.set("hadoop.security.authentication", "Kerberos");n //conf.setBoolean("fs.hdfs.imHADOpl.disable.cache", true);n conf.set("keytab.file", keytabFile);n UserGroupInformation.setConfiguration(conf);n UserGroupInformation.loginUserFromKeytab(principle, keytabFile);n // =================================================================n String[] arg = new String[] n // Oracle数据库信息n n /*n * sqoop export --connect jdbc:mysql://127.0.0.1:3306/test --username jamie --table n * persons --export-dir /user/hive/warehouse/dw_api_server.db/persons2/ n * --input-fields-terminated-by '\t' --input-lines-terminated-by '\n'n */n "--connect","jdbc:mysql://114.115.156.37:3306/test",n "--username","root",n "--password","root",n "--table","persons",n "--m","1",n "--export-dir","hdfs://101.30.188.246:9000/user/hive/warehouse/dw_api_server.db/persons/",n "--input-fields-terminated-by","\t"n //"-columns","id,city"n ;n n n n String[] expandArguments = OptionsFileUtil.expandArguments(arg);n SqoopTool tool = SqoopTool.getTool("export");n n Configuration loadPlugins = SqoopTool.loadPlugins(conf);nn n n n Sqoop sqoop = new Sqoop((com.cloudera.sqoop.tool.SqoopTool) tool, loadPlugins);n int res = Sqoop.runSqoop(sqoop, expandArguments);n if (res == 0)n System.out.println ("成功");n n n nnn```nn报错nnn```n java.io.IOException: Can't get Master Kerberos principal for use as renewern at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:133)n at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:100)n at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:80)n at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:166)n at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1290)n at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1287)n at java.security.AccessController.doPrivileged(Native Method)n at javax.security.auth.Subject.doAs(Subject.java:422)n at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)n at org.apache.hadoop.mapreduce.Job.submit(Job.java:1287)n at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1308)n at org.apache.sqoop.mapreduce.ExportJobBase.doSubmitJob(ExportJobBase.java:322)n at org.apache.sqoop.mapreduce.ExportJobBase.runJob(ExportJobBase.java:299)n at org.apache.sqoop.mapreduce.ExportJobBase.runExport(ExportJobBase.java:440)n at org.apache.sqoop.manager.SqlManager.exportTable(SqlManager.java:931)n at org.apache.sqoop.tool.ExportTool.exportTable(ExportTool.java:80)n at org.apache.sqoop.tool.ExportTool.run(ExportTool.java:99)n at org.apache.sqoop.Sqoop.run(Sqoop.java:147)n at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)n at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)n at com.mshuoke.datagw.impl.sqoop.SqoopTest.main(SqoopTest.java:58)n```nn求解
Can't get hostname for you
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communication link failure, message from server: "Can't get hostname for your address"rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)rn at java.lang.reflect.Constructor.newInstance(Unknown Source)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)rn at com.mysql.jdbc.Util.getInstance(Util.java:387)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:917)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:896)rn at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:885)rn at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1038)rn at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2255)rn at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2286)rn at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2085)rn at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:795)rn at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:44)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)rn at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)rn at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)rn at java.lang.reflect.Constructor.newInstance(Unknown Source)rn at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)rn at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:400)rn at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:327)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at java.sql.DriverManager.getConnection(Unknown Source)rn at test.Test.(Test.java:21)rn at test.Test.main(Test.java:49)rnrn在debug下,con = DriverManager.getConnection(url) 就报错了rn网上的办法都没用
Kerberos principal和keytab概念剖析
本次课程让学员全面系统地学习大数据平台运维,开发的操作。课程内容涉及到大数据生态系统的各项工具,内容全面,讲解细致,助您全面掌握大数据平台运维及开发工具的作用
Can't get values via getParameter() method???
----------------------following is in form------------------------rn<--form name="info" action="/UploadManage/save_chapter_modify.jsp" enctype="multipart/form-data" method="post">rnrnrn<--/form>rn--------------------following is in save_chapter_modify.jsp-------rnString s_otherinfo;rns_otherinfo=request.getParameter("otherinfo");rn//when i submit and request the sava_chapter_modify.jsp rn//the Exception occurs-----java.lang.NullPointerExceptionrn
Can't get into "Add/Remove", help!!!!
i am using Windows2003 system, i can't get into Control Panel->"Add/Remove Programs", rna message rn Parser Messagern Value creation failed " at line 472rn OKrnrnwhat is wrong,,,rnhelprnthx
Can't get definitions factory from context
用Sturts中的title框架,在JBuilder中运行没有问题,扔到tomcat中就报错。这是什么问题?
Can't get definitions factory from context. ??
程序从教材里拷贝过来的,SSH架构,由于之前的文件结构不符合Myelclipse自建的目录,就自己建了一个工程,并按照相应的src和webroot将源代码拷贝到新工程下,第一次在浏览器中输入http://localhost:8080/TES/还能显示主页,但之后就不行了,请高手指点,错误提示如下:rnrn2010-7-16 23:09:35 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet jsp threw exceptionrnjavax.servlet.jsp.JspException: Can't get definitions factory from context.rn at org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag.java:577)rn at org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:476)rn at org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:438)rn at org.apache.jsp.pages.index_jsp._jspx_meth_tiles_005finsert_005f0(index_jsp.java:123)rn at org.apache.jsp.pages.index_jsp._jspService(index_jsp.java:76)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)rn at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)rn at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)rn at java.lang.Thread.run(Thread.java:619)rnrn
1024 Can't get hostname for your addrass
我的navicat 无法与我的mysql连接 一连接 就出先 1024- Can't get hostname for your naddrass 求大神支招 不然根本没法 做作业
Can't
我用Visual InterDev新建一个New Web Project,在出现的第一个界面中要求输入服务器,我输的是我的计算机名,按“NEXT”后,总是提示Unable to contact Web Server http://我的服务器名,(只有重装操作系统才好)不知道是什么原因?
解决AndroidStudio的Unknown host“一堆乱码”和“Can't get XX”或 “Can’t resolve XX”问题
前言 自从AndroidStudio升级到3.4后,每次打开以前的项目就出现一堆问题,把那个红色报错的复制粘贴去网上搜,都没有解决,后面还是靠我自己的摸索弄了几个小时才解决掉,所以记录一些,避免再次遇到。 Unkown Host"杩欐槸鍦ㄤ富鏈哄悕瑙f瀽鏃堕 氬父鍑虹幇鐨勬殏鏃", You may need to adjust the proxy settings in Gradle 首先我是遇到...
sqoop1使用脚本实例
sqoop import --connect jdbc:db2://db2数据库ip和端口号 --username 用户名 --password 密码 --query&quot; sql语句 where \$CONDITIONS&quot; --target-dir /抽数路径  -m 1(线程数) --fields-terminated-by &quot;\\001&quot;(分隔符) --hive-drop-import-del...
sqoop1使用必备
英文不好的童鞋的利器,比自己在有道上翻译好得多了。 ETL的童鞋们,需要看看。
can't connect to VM
今天用MyEclipse 做一个简单的用户管理系统。rnrn数据库是以JDBC驱动连接的。rnrn参数都是配置对的。。因为用了几个小时tomcat都能正常启动rnrn但是 后面救老是启动不了。rn显示 can't connect to VM 怎么弄都不行。。rnrn急啊,,。
can't open display:
在命令行下输入xconsole等命令提示:“can't open display:”是何原因?如何修改?
Can't load server.xml
在Eclipse下启动Tomcat时,提示错误:Can't load server.xml.rn这是什么原因?请大家帮忙!谢谢!
smartdrv can't be loaded
(Sorry,I am in the Japanese OS and not convenient to input Chinese character.)I restarted my pc by floppydisk,when I ran smartdrv.exe,it indicated that XML driver,HIMEM.sys is not loaded,rnPlease tell me how to solve this proble.Thank you!
rolstartvispos can't be > rollen
1、使用ado.edit和ado.post修改了一个字段的值,ado.close时出现了这个提示;rn2、使用ado.delete删除一行记录后,ado.close时出现了这个提示;rn以前没有(也可能是没有测试到),今天增加了多选记录行,删除已经选择的记录,使用了bookmark,就突然出现了?rn删除选择的记录:rnfor i:=0 to dbgrideh.selectedrows.count-1 dornbeginrn dbgrideh.datasource.dataset.gotobookmark(dbgrideh.selectedrows.items[i]);rn ado.delete;rnend;rn重置:rnado.close;rn这时候出错 rolstartvispos can't be > rollenrn怀疑还是记录定位的问题,以前没见过这种错误
can't find library! :(...
SCO Unix,写了一个库,编译成libini.a,没有问题。rn写了一个测试程序,调用这个库中的函数,编译的时候rn说can't find library libini.a ,这是怎么回事?rn编译命令我这么写的:rncc -o test test.c -lini -L /data01/src/librn我不写-L也是一样的错误... :(... 我是新手,请教了!rn
can't be located!
The procedure entry point MyClass@*** could not be located in the dynamic link library *.dll
can't "Imports Microsoft.Data.Odbc"
I want to use ODBCConnection in VB.net, but I can't import microsoft.data.odbc.
can't execute program
F7编译没错误,点感叹号,就出现这个对话框!什么意思啊?
RolStartVisPos can't be > RolLen
DbgridEh v.9.1 以下,当ScrollBar横向滚动后,再刷新数据集时 会弹出以下错误: RolStartVisPos can't be > RolLen
why can't run
i user a api functionrn[ DllImport("user32") ]rn public static extern long ExitWindowsEx(long uFlags, long dwReserved ) ;rnbut it can't be runrnprivate void button3_Click(object sender, System.EventArgs e)rn rn if(MessageBox.Show("close computer","system infomation",MessageBoxButtons.YesNo,MessageBoxIcon.Warning)==DialogResult.OK)rn sh=ExitWindowsEx(2,dwReserved);rn rnprivate void button3_Click(object sender, System.EventArgs e)rn rn if(MessageBox.Show("close computer","system infomation",MessageBoxButtons.YesNo,MessageBoxIcon.Warning)==DialogResult.OK)rn sh=ExitWindowsEx(1,dwReserved);rnrnrn rnrnrnrnhelp, help,help,rn
can't open msdn130.col
windows2000 profession安装了msdn1后,打开msdn后提示can't open msdn130.col;重装几次后还是不行,求助!
Can't Create table
DECLARE @AREA CHAR(2)rnDECLARE @DATE CHAR(12)rnSET @DATE = '20060928'rnSET @AREA = '01'rnrnDECLARE @TABLENAME CHAR(20)rnSET @TABLENAME = 'Table_'+@AREA+'_'+@DATErnrnprint @TABLENAMErnrncreate table @TABLENAME(v int)rnrn为什么不能 Create table ? 老报错, 我怎么做才能在创建表的时候用变量?rn
Can't use FLAG_RECEIVER_BOOT_UPGRADE
rn[code=Java]rn rn NotificationManager MyNotiManager=(NotificationManager)getSystemService(NOTIFICATION_SERVICE);rn rn Intent notifyIntenet=new Intent("PublicServerFilter"); rn notifyIntenet.putExtras(bundle);rn notifyIntenet.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);rn PendingIntent appIn=PendingIntent.getBroadcast(getBaseContext(), 0, notifyIntenet, PendingIntent.FLAG_CANCEL_CURRENT);rn Notification myNoti=new Notification(); rn if(IconId>0)rn myNoti.icon=IconId;rn myNoti.tickerText=msg; rn myNoti.defaults=Notification.DEFAULT_SOUND;rn myNoti.when= System.currentTimeMillis(); rn myNoti.setLatestEventInfo(getBaseContext(), title, msg, appIn);rn MyNotiManager.notify(PublicNotificationId,myNoti);rnrnrn[/code]rnrn在写这样一个函数的时候,错误,是不是在初始化rnIntent notifyIntenet=new Intent("PublicServerFilter"); rn不能使用这个呢。因为我不想毁掉到class上,直接回调到系统的函数上。rn所以就这样初始化了。就这样报错。rnERROR/AndroidRuntime(255): java.lang.IllegalArgumentException: Can't use FLAG_RECEIVER_BOOT_UPGRADE here
can’t compile qt-mobility-opensource-src-1.2.0
os: win xp sp3rnvs: vs2010rnqt:Qt libraries 4.8.0 for Windows (VS 2010) rnqt-mobility:qt-mobility-opensource-src-1.2.0rncompile steps as below:rn 1.start qt 4.8.0 command promptrn 2. enter directory qt-mobility-opensource-src-1.2.0 rn 3. configure -prefix=“c:\\qt\\4.8.0”rn 4. nmakernwhen do nmake error occurs: ‘QMetaObjectBuilder::setStaticMetacallFunction’: cannot convert parameter 1 from ‘const QMetaObjectExtraData::StaticMetacallFunction’ to ‘QtMobility::QMetaObjectBuilder::StaticMetacallFunction’rnThis conversion requires a reinterpret_cast, a C-style cast or function-style castrnrn
can't be cast to java.lang.Comparable?
以下这段代码,我在Eclipse或NetBeans中可以运行,但在命令行下用java执行时却给出了错误信息:rnException in thread "main" java.lang.ClassCastException: The_Obj cannot be castrnto java.lang.Comparablern at java.util.Arrays.mergeSort(Arrays.java:1144)rn at java.util.Arrays.sort(Arrays.java:1079)rn at The_Obj.main(The_Obj.java:22)rn这是为啥?rn[code=Java]public class The_Obj implements Comparablernrn private double a;rn public The_Obj(double a)rn this.a =a;rn rn public int compareTo(The_Obj obj)rn rn if(this.a > obj.a) return 1;rn else if(this.a == obj.a) return 0;rn else return -1;rn rn public static void main(String[] args)rn rn Comparable[] array = new The_Obj[3];rn System.out.println("Before sort: ");rn for(int i = 0; i < 3; i++)rn array[i] = new The_Obj((double)Math.random());rn System.out.println(((The_Obj)array[i]).a);rn rn System.out.println("\nAfter sort: ");rn java.util.Arrays.sort(array);rn for(int i = 0; i < 3; i++)rn System.out.println(((The_Obj)array[i]).a);rn rn rn[/code]
can`t find openocd.cfg
想在Ubuntu上安装openocd来给板子烧程序,本来下了个openocd的tar包,但是make时报错,于是直接用的apt-get install openocd安装的,用 openocd -v查看,可以看到版本号,说明安装成功了,但是,使用其他命令,如 openocd -f时,却报错,提示找不到 openocd.cfg,这个怎么搞?自己新建一个吗?网上倒是看到很多教怎么配置openocd的,但是,我找不到这个文件啊,要是新建的话,是在哪儿新建呢?
Can't co-create object
http://www.tuicool.com/articles/IN7Vnmrnrn按照我自己写c#是生成dll文件。在java里调用出现rnCan't co-create objectrn
出现can't locate
Can't locate ./environment.pl in @INC (@INC contains: /usr/rcpark/pub/perl5/lib/sun4-solaris/5.00404 /usr/rcpark/pub/perl5/lib /usr/rcpark/pub/perl5/lib/site_perl/sun4-solaris /usr/rcpark/pub/perl5/lib/site_perl .) at /opt/public_html/cgi-bin/common.pl line 17.rnrnrn请问为什么会出现以上错误?rnrn附:文件common.pl的第17行是:rnrequire './environment.pl';rnrnrequire './environment.pl';、require "./environment.pl";、require 'environment.pl'、require '/opt/public_html/cgi-bin/environment.pl';有区别么?或者是其它错误?谢谢。rnrn另外:在perl中如果一个a.pl require 了environment.pl文件,b.cgi同时require了a.pl和environment.pl是否有错?就像C语言里类似重复包含头文件会报错那样.rnrnrn
Can't resolve "Hello"...
我用JBuilder的EJB2.0 Designer产生一个名为Hello的Ejbrn(Stateless session bean),按照<>rn所示代码录入,然后用Client wizard产生客户端代码,rn却总是出现如题的错误提示;rn  另外,我按照Oreilly出版社的<>rn所示代码测试Ejb 1.X 也出现Can't rosolve...的提示;rn  我曾经在CSDN上咨询过,各位高手都提醒我查看rnweblogic-ejb-jar.xml中的jndi标签,但中的名字和rnlookup()对象名并没有错,我错在哪里呢?这个问题几个月来一直rn是我学习Ejb的拦路虎,help!!!rnrn我的环境:Win2000 SP3, JBuilder7.0 + Weblogic7
Can't delete Table1 !!
小弟欲做一快速报表。采用Table,QRChat,DBGrid,QuickRep.....,因为试验的需要,rnrn添加的demo在正式运行前将delete.rn rn 程序如下:rn rn if(Table1->Active)rn rn Excutive=true;rn Table1->Empty(?);rn rn elsern rn Table1->DatabaseName= "xxxx";rn Table1->TableType="XXX";rn Table1->TableName=" XXX";rn Table1->EmptyTable();rn rn 运行后,Error提示“table1 is Locked....”rn rn 将executive ->false,Error 提示Table1 can't be Opened. !!!!rn rn 令人百思不得其解。一气之下,小弟将Table1 在设计期间的Active=false;rnrn运行出错,不管。进入操作区,运行Delete按钮,终于Delete Table1's data.rnrn可如果在设计时将Table1设为True,问题依旧!!!!rn rn WHY???rn rn 小弟翻了好多书,都没有说得更详细。rnrn Help!! rn rn rnrn rn rnrn
Can't Open msdn110.col
我安了一个 MSDN Library April 2001,打开时说不能打开 msdn110.col 文件,谁有这个正确的文件呀,帮忙传一下。
Can't find NTLDR?
我的机器上装有NT 和98 rn不知道被谁误删了什么东西rn启动时出现rnCan't find NTLDRrnINSERT ANOTHER DISKrn
can't pen glut32.lib?
我在学opengl,但用vc++连接不上,找解决方案,答复是:rn“把glut32.lib文件所在.lib文件夹加在tools-options-Dictinaries的library files中,再在projects-setting的link的object/library modules中加入glut32.lib. ”rn但这.lib文件夹是什么东西啊?tools-options-Dictionarys是在哪啊?library files我怎么没找到啊?project-setting?
tomcat报错为:can't get a connection,pool exhaust
从字面的理解为无法从池中取得连接,池被用尽了,可是我每个页面上都有关闭连接的语句啊,这样也会用尽池吗,请各位指教如何解决
Tomcat4报错如下:Can't get a connection,pool exhaust
这是怎么回事,我每次用完数据库的连接都调用close()了呀,怎么还会造成池被用尽的错误,而且我也只是做了几个页面做测试的,才用了十次不到就报错了,天呢。。。。。,请问是我释放连接有问题吗?
Can't get hostname for your addressConnection closed by foreign host.
路过的,帮忙看看:rn A(211.98.115.12):项目服务器,B(211.98.115.13):数据库服务器;os都是linuxrn 登入A,输入 telnet 211.98.115.13 3306 报错,如下:rn rn[root@aaa2 proxy]# telnet 211.98.115.13 3306rnTrying 211.98.115.13...rnConnected to 211.98.115.13 (211.98.115.13).rnEscape character is '^]'.rn&Can't get hostname for your addressConnection closed by foreign host.rnrn好心人帮忙解决下……
Can't get definitions factory from context!急,在线等
以下是tiles-defs.xml的内容:rnrnrnrn rn rn rn rn rn rn rnrnrn以下是struts-config.xml的内容:rnrnrnrnrnrnrnrn rnrnrnrn rnrnrn rn rn rn rn rn rnrnrnrn rn rnrnrnrnrnrn rn rn rnrnrnrn以下是web.xml的内容:rnrnrnrnrnrnrn rnrn rn rn actionrn org.apache.struts.action.ActionServletrn rn configrn /WEB-INF/struts-config.xmlrn rn rn debugrn 2rn rn rn definitions-debugrn 1rn rn rn definitions-parser-detailsrn 0rn rn rn definitions-parser-validatern truern rn 2rn rnrn rn rn actionrn *.dorn rnrn rn rn index.jsprn rnrn rn /WEB-INF/app.tldrn /WEB-INF/app.tldrn rnrn rn /WEB-INF/struts-bean.tldrn /WEB-INF/struts-bean.tldrn rnrn rn /WEB-INF/struts-html.tldrn /WEB-INF/struts-html.tldrn rnrn rn /WEB-INF/struts-logic.tldrn /WEB-INF/struts-logic.tldrn rnrnrnrn总是报那个错误,那位老大知道原因请告诉我,谢谢!有中文资料的话也可以发给我!谢谢!
相关热词 c#检测非法字符 c#双屏截图 c#中怎么关闭线程 c# 显示服务器上的图片 api嵌入窗口 c# c# 控制网页 c# encrypt c#微信网页版登录 c# login 居中 c# 考试软件