You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Tutkowski, Mike" <Mi...@netapp.com> on 2017/04/04 20:06:48 UTC
F5 compile issue with 4.5.x
Hi,
I see the following error now when trying to compile 4.5.x code:
[INFO] Compiling 12 source files to /Users/solidfire/Documents/CloudStack/CloudStack/plugins/network-elements/f5/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26] error: cannot access Stub
I’ve not seen this “Stub” problem before.
Anyone familiar with what it’s referring to?
Thanks!
Mike
Re: F5 compile issue with 4.5.x
Posted by Daan Hoogland <da...@gmail.com>.
Mike,
you need to get a newer f5 jar (icontrol)
didn't dive into getting the f5 jar yet as I'm not using it. disabling works ;)
On Tue, Apr 4, 2017 at 10:22 PM, Tutkowski, Mike
<Mi...@netapp.com> wrote:
> javac 1.8.0_121
>
> By removing F5, though, I just got a successful compile. :)
>
> On 4/4/17, 2:19 PM, "Rafael Weingärtner" <ra...@gmail.com> wrote:
>
> What version of Java 8 (e.g. jdk1.8.0_112)?
> I had a similar problem quite a long time ago, the compilation would work
> with jdk1.8.0_11 (or JDK 7), but would not work with anything higher.
> Did you try using Java JDK 7?
>
> On Tue, Apr 4, 2017 at 4:14 PM, Tutkowski, Mike <Mi...@netapp.com>
> wrote:
>
> > I am running with Java 8 because I typically have been working with 4.10.
> > I just needed to go back to 4.5.x for another project I’m working on.
> >
> > Thanks
> >
> > On 4/4/17, 2:09 PM, "Rafael Weingärtner" <ra...@gmail.com>
> > wrote:
> >
> > I feel that I have seen this before.
> > What is your JDK version?
> >
> > On Tue, Apr 4, 2017 at 4:06 PM, Tutkowski, Mike <
> > Mike.Tutkowski@netapp.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I see the following error now when trying to compile 4.5.x code:
> > >
> > > [INFO] Compiling 12 source files to /Users/solidfire/Documents/
> > > CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> > > [INFO] -------------------------------------------------------------
> > > [ERROR] COMPILATION ERROR :
> > > [INFO] -------------------------------------------------------------
> > > [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/
> > > network-elements/f5/src/com/cloud/network/resource/F5BigIpRe
> > source.java:[411,26]
> > > error: cannot access Stub
> > >
> > > I’ve not seen this “Stub” problem before.
> > >
> > > Anyone familiar with what it’s referring to?
> > >
> > > Thanks!
> > > Mike
> > >
> >
> >
> >
> > --
> > Rafael Weingärtner
> >
> >
> >
>
>
> --
> Rafael Weingärtner
>
>
--
Daan
Re: F5 compile issue with 4.5.x
Posted by "Tutkowski, Mike" <Mi...@netapp.com>.
javac 1.8.0_121
By removing F5, though, I just got a successful compile. :)
On 4/4/17, 2:19 PM, "Rafael Weingärtner" <ra...@gmail.com> wrote:
What version of Java 8 (e.g. jdk1.8.0_112)?
I had a similar problem quite a long time ago, the compilation would work
with jdk1.8.0_11 (or JDK 7), but would not work with anything higher.
Did you try using Java JDK 7?
On Tue, Apr 4, 2017 at 4:14 PM, Tutkowski, Mike <Mi...@netapp.com>
wrote:
> I am running with Java 8 because I typically have been working with 4.10.
> I just needed to go back to 4.5.x for another project I’m working on.
>
> Thanks
>
> On 4/4/17, 2:09 PM, "Rafael Weingärtner" <ra...@gmail.com>
> wrote:
>
> I feel that I have seen this before.
> What is your JDK version?
>
> On Tue, Apr 4, 2017 at 4:06 PM, Tutkowski, Mike <
> Mike.Tutkowski@netapp.com>
> wrote:
>
> > Hi,
> >
> > I see the following error now when trying to compile 4.5.x code:
> >
> > [INFO] Compiling 12 source files to /Users/solidfire/Documents/
> > CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> > [INFO] -------------------------------------------------------------
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/
> > network-elements/f5/src/com/cloud/network/resource/F5BigIpRe
> source.java:[411,26]
> > error: cannot access Stub
> >
> > I’ve not seen this “Stub” problem before.
> >
> > Anyone familiar with what it’s referring to?
> >
> > Thanks!
> > Mike
> >
>
>
>
> --
> Rafael Weingärtner
>
>
>
--
Rafael Weingärtner
Re: F5 compile issue with 4.5.x
Posted by Rafael Weingärtner <ra...@gmail.com>.
What version of Java 8 (e.g. jdk1.8.0_112)?
I had a similar problem quite a long time ago, the compilation would work
with jdk1.8.0_11 (or JDK 7), but would not work with anything higher.
Did you try using Java JDK 7?
On Tue, Apr 4, 2017 at 4:14 PM, Tutkowski, Mike <Mi...@netapp.com>
wrote:
> I am running with Java 8 because I typically have been working with 4.10.
> I just needed to go back to 4.5.x for another project I’m working on.
>
> Thanks
>
> On 4/4/17, 2:09 PM, "Rafael Weingärtner" <ra...@gmail.com>
> wrote:
>
> I feel that I have seen this before.
> What is your JDK version?
>
> On Tue, Apr 4, 2017 at 4:06 PM, Tutkowski, Mike <
> Mike.Tutkowski@netapp.com>
> wrote:
>
> > Hi,
> >
> > I see the following error now when trying to compile 4.5.x code:
> >
> > [INFO] Compiling 12 source files to /Users/solidfire/Documents/
> > CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> > [INFO] -------------------------------------------------------------
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/
> > network-elements/f5/src/com/cloud/network/resource/F5BigIpRe
> source.java:[411,26]
> > error: cannot access Stub
> >
> > I’ve not seen this “Stub” problem before.
> >
> > Anyone familiar with what it’s referring to?
> >
> > Thanks!
> > Mike
> >
>
>
>
> --
> Rafael Weingärtner
>
>
>
--
Rafael Weingärtner
Re: F5 compile issue with 4.5.x
Posted by "Tutkowski, Mike" <Mi...@netapp.com>.
To try to get around it, I removed the F5 project. It almost compiled then. (
I got this in the client project:
[ERROR] Failed to execute goal on project cloud-client-ui: Could not resolve dependencies for project org.apache.cloudstack:cloud-client-ui:war:4.5.1: Could not find artifact org.apache.cloudstack:cloud-plugin-network-f5:jar:4.5.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
I removed the F5 reference there and am re-compiling.
On 4/4/17, 2:14 PM, "Tutkowski, Mike" <Mi...@netapp.com> wrote:
I am running with Java 8 because I typically have been working with 4.10. I just needed to go back to 4.5.x for another project I’m working on.
Thanks
On 4/4/17, 2:09 PM, "Rafael Weingärtner" <ra...@gmail.com> wrote:
I feel that I have seen this before.
What is your JDK version?
On Tue, Apr 4, 2017 at 4:06 PM, Tutkowski, Mike <Mi...@netapp.com>
wrote:
> Hi,
>
> I see the following error now when trying to compile 4.5.x code:
>
> [INFO] Compiling 12 source files to /Users/solidfire/Documents/
> CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/
> network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
> error: cannot access Stub
>
> I’ve not seen this “Stub” problem before.
>
> Anyone familiar with what it’s referring to?
>
> Thanks!
> Mike
>
--
Rafael Weingärtner
Re: F5 compile issue with 4.5.x
Posted by "Tutkowski, Mike" <Mi...@netapp.com>.
I am running with Java 8 because I typically have been working with 4.10. I just needed to go back to 4.5.x for another project I’m working on.
Thanks
On 4/4/17, 2:09 PM, "Rafael Weingärtner" <ra...@gmail.com> wrote:
I feel that I have seen this before.
What is your JDK version?
On Tue, Apr 4, 2017 at 4:06 PM, Tutkowski, Mike <Mi...@netapp.com>
wrote:
> Hi,
>
> I see the following error now when trying to compile 4.5.x code:
>
> [INFO] Compiling 12 source files to /Users/solidfire/Documents/
> CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/
> network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
> error: cannot access Stub
>
> I’ve not seen this “Stub” problem before.
>
> Anyone familiar with what it’s referring to?
>
> Thanks!
> Mike
>
--
Rafael Weingärtner
Re: F5 compile issue with 4.5.x
Posted by Rafael Weingärtner <ra...@gmail.com>.
I feel that I have seen this before.
What is your JDK version?
On Tue, Apr 4, 2017 at 4:06 PM, Tutkowski, Mike <Mi...@netapp.com>
wrote:
> Hi,
>
> I see the following error now when trying to compile 4.5.x code:
>
> [INFO] Compiling 12 source files to /Users/solidfire/Documents/
> CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/
> network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
> error: cannot access Stub
>
> I’ve not seen this “Stub” problem before.
>
> Anyone familiar with what it’s referring to?
>
> Thanks!
> Mike
>
--
Rafael Weingärtner
Re: F5 compile issue with 4.5.x
Posted by "Tutkowski, Mike" <Mi...@netapp.com>.
Thanks, guys!
> On Apr 5, 2017, at 8:22 AM, Rohit Yadav <ro...@shapeblue.com> wrote:
>
> Mike, it seems issue with your axis dependency version. See and compare the axis and axis-jaxrpc dependency version from master branch. Install the f5 dependency jars from here: https://github.com/rhtyd/cloudstack-nonoss and while building ACS 4.5.x use JDK1.7.
>
>
> Regards.
>
> ________________________________
> From: Tutkowski, Mike <Mi...@netapp.com>
> Sent: 05 April 2017 01:36:48
> To: dev@cloudstack.apache.org
> Subject: F5 compile issue with 4.5.x
>
> Hi,
>
> I see the following error now when trying to compile 4.5.x code:
>
> [INFO] Compiling 12 source files to /Users/solidfire/Documents/CloudStack/CloudStack/plugins/network-elements/f5/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26] error: cannot access Stub
>
> I’ve not seen this “Stub” problem before.
>
> Anyone familiar with what it’s referring to?
>
> Thanks!
> Mike
>
> rohit.yadav@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London WC2N 4HSUK
> @shapeblue
>
>
>
Re: F5 compile issue with 4.5.x
Posted by Rohit Yadav <ro...@shapeblue.com>.
Mike, it seems issue with your axis dependency version. See and compare the axis and axis-jaxrpc dependency version from master branch. Install the f5 dependency jars from here: https://github.com/rhtyd/cloudstack-nonoss and while building ACS 4.5.x use JDK1.7.
Regards.
________________________________
From: Tutkowski, Mike <Mi...@netapp.com>
Sent: 05 April 2017 01:36:48
To: dev@cloudstack.apache.org
Subject: F5 compile issue with 4.5.x
Hi,
I see the following error now when trying to compile 4.5.x code:
[INFO] Compiling 12 source files to /Users/solidfire/Documents/CloudStack/CloudStack/plugins/network-elements/f5/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/solidfire/Documents/CloudStack/CloudStack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26] error: cannot access Stub
I’ve not seen this “Stub” problem before.
Anyone familiar with what it’s referring to?
Thanks!
Mike
rohit.yadav@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London WC2N 4HSUK
@shapeblue