You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by 李家宏 <jh...@gmail.com> on 2013/12/16 10:16:43 UTC

[compile storm]Could not locate backtype/storm/Config__init.class

hi,
I try to build storm release with version 0.9.0-rc3, and got this compile
error:

"Compiling backtype.storm.testing4j
Exception in thread "main" java.io.FileNotFoundException: Could not locate
backtype/storm/Config__init.class or backtype/storm/Config.clj on
classpath: , compiling:(testing4j.clj:1) ... "

Anyone ever come with this problem ?

Thanks

-- 

======================================================

Gvain

Email: jh.li.em@gmail.com

Re: [compile storm]Could not locate backtype/storm/Config__init.class

Posted by "P. Taylor Goetz" <pt...@gmail.com>.
Can you include the steps you followed that let to that error?

On Dec 16, 2013, at 4:16 AM, 李家宏 <jh...@gmail.com> wrote:

> hi,
> I try to build storm release with version 0.9.0-rc3, and got this compile
> error:
> 
> "Compiling backtype.storm.testing4j
> Exception in thread "main" java.io.FileNotFoundException: Could not locate
> backtype/storm/Config__init.class or backtype/storm/Config.clj on
> classpath: , compiling:(testing4j.clj:1) ... "
> 
> Anyone ever come with this problem ?
> 
> Thanks
> 
> -- 
> 
> ======================================================
> 
> Gvain
> 
> Email: jh.li.em@gmail.com


回复: [compile storm]Could not locate backtype/storm/Config__init.class

Posted by 李家宏 <jh...@gmail.com>.
It helps, thanks

Regards
 
------------------
 Gvain
 
Email: jh.li.em@gmail.com




 




------------------ 原始邮件 ------------------
发件人: "FangKun Cao"; 
发送时间: 2013年12月16日(星期一) 晚上11:46
收件人: "dev"; 
主题: Re: [compile storm]Could not locate backtype/storm/Config__init.class



version 0.9.0-rc3 compiles very well on my computer
but you can try :

Index: storm-core/src/clj/backtype/storm/testing4j.clj
===================================================================
--- storm-core/src/clj/backtype/storm/testing4j.clj (revision 2637)
+++ storm-core/src/clj/backtype/storm/testing4j.clj (working copy)
@@ -1,4 +1,5 @@
 (ns backtype.storm.testing4j
+  (:require [backtype.storm.LocalCluster :as LocalCluster])
   (:import [java.util Map List Collection ArrayList])
   (:import [backtype.storm Config ILocalCluster LocalCluster])
   (:import [backtype.storm.generated StormTopology])
@@ -135,4 +136,4 @@
        (let [stream (or (.getStream param) Utils/DEFAULT_STREAM_ID)
              component (or (.getComponent param) "component")
              fields (.getFields param)]
-         (test-tuple values :stream stream :component component :fields
fields)))))
\ No newline at end of file
+         (test-tuple values :stream stream :component component :fields
fields)))))


2013/12/16 李家宏 <jh...@gmail.com>

> hi,
> I try to build storm release with version 0.9.0-rc3, and got this compile
> error:
>
> "Compiling backtype.storm.testing4j
> Exception in thread "main" java.io.FileNotFoundException: Could not locate
> backtype/storm/Config__init.class or backtype/storm/Config.clj on
> classpath: , compiling:(testing4j.clj:1) ... "
>
> Anyone ever come with this problem ?
>
> Thanks
>
> --
>
> ======================================================
>
> Gvain
>
> Email: jh.li.em@gmail.com
>



-- 
Best wishs!
Fangkun.Cao

Re: [compile storm]Could not locate backtype/storm/Config__init.class

Posted by FangKun Cao <ca...@gmail.com>.
version 0.9.0-rc3 compiles very well on my computer
but you can try :

Index: storm-core/src/clj/backtype/storm/testing4j.clj
===================================================================
--- storm-core/src/clj/backtype/storm/testing4j.clj (revision 2637)
+++ storm-core/src/clj/backtype/storm/testing4j.clj (working copy)
@@ -1,4 +1,5 @@
 (ns backtype.storm.testing4j
+  (:require [backtype.storm.LocalCluster :as LocalCluster])
   (:import [java.util Map List Collection ArrayList])
   (:import [backtype.storm Config ILocalCluster LocalCluster])
   (:import [backtype.storm.generated StormTopology])
@@ -135,4 +136,4 @@
        (let [stream (or (.getStream param) Utils/DEFAULT_STREAM_ID)
              component (or (.getComponent param) "component")
              fields (.getFields param)]
-         (test-tuple values :stream stream :component component :fields
fields)))))
\ No newline at end of file
+         (test-tuple values :stream stream :component component :fields
fields)))))


2013/12/16 李家宏 <jh...@gmail.com>

> hi,
> I try to build storm release with version 0.9.0-rc3, and got this compile
> error:
>
> "Compiling backtype.storm.testing4j
> Exception in thread "main" java.io.FileNotFoundException: Could not locate
> backtype/storm/Config__init.class or backtype/storm/Config.clj on
> classpath: , compiling:(testing4j.clj:1) ... "
>
> Anyone ever come with this problem ?
>
> Thanks
>
> --
>
> ======================================================
>
> Gvain
>
> Email: jh.li.em@gmail.com
>



-- 
Best wishs!
Fangkun.Cao