Comments (4)
The incompatibility is shown in the following stacktrace:
java.lang.NoSuchMethodError: scala.Predef$.ArrowAssoc(Ljava/lang/Object;)Ljava/lang/Object;
at com.monsanto.arch.cloudformation.model.resource.ContainerDefinition$$anon$1.write(ECS.scala:151)
at com.monsanto.arch.cloudformation.model.resource.ContainerDefinition$$anon$1.write(ECS.scala:148)
at spray.json.PimpedAny.toJson(package.scala:39)
at spray.json.CollectionFormats$$anon$4$$anonfun$write$4.apply(CollectionFormats.scala:87)
at spray.json.CollectionFormats$$anon$4$$anonfun$write$4.apply(CollectionFormats.scala:87)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at spray.json.CollectionFormats$$anon$4.write(CollectionFormats.scala:87)
at spray.json.CollectionFormats$$anon$4.write(CollectionFormats.scala:86)
at spray.json.ProductFormats$class.productElement2Field(ProductFormats.scala:46)
at com.monsanto.arch.cloudformation.model.resource.AWS$colon$colonECS$colon$colonTaskDefinition$.productElement2Field(ECS.scala:83)
at spray.json.ProductFormatsInstances$$anon$7.write(ProductFormatsInstances.scala:181)
at spray.json.ProductFormatsInstances$$anon$7.write(ProductFormatsInstances.scala:176)
at spray.json.PimpedAny.toJson(package.scala:39)
....
from cloudformation-template-generator.
Running into another incompatibility issue:
java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaUniverse$JavaMirror;
at com.monsanto.arch.cloudformation.model.resource.ELBScheme$.<init>(ElasticLoadBalancing.scala:273)
at com.monsanto.arch.cloudformation.model.resource.ELBScheme$.<clinit>(ElasticLoadBalancing.scala)
at com.monsanto.arch.cloudformation.model.resource.AWS$colon$colonElasticLoadBalancingV2$colon$colonLoadBalancer$.<init>(ElasticLoadBalancingV2.scala:50)
at com.monsanto.arch.cloudformation.model.resource.AWS$colon$colonElasticLoadBalancingV2$colon$colonLoadBalancer$.<clinit>(ElasticLoadBalancingV2.scala)
...
from cloudformation-template-generator.
My main concern with trying to target 2.10 is that I'm worried it may limit our ability to move forward with current Scala versions. I generally think it's reasonable to support current and one version prior. Scala 2.10 is more than 4 years old now, and hasn't had a significant point release in over 2 years (2.10.6 doesn't count, it was just a minor licensing tweak). It's considered obsolete as far as Scala's maintainers are concerned. Do you really have that many plugins that aren't even compatible with 2.11, much less 2.12?
That being said, if cross compiling to 2.10 can be done without breaking any current functionality or making any compromises on our ability to move forward with 2.11 and 2.12, I'm open to doing it. Have you tried cross compiling it yet? I may not have time in the immediate future to work on it, but if you want to look into the changes needed to add 2.10 support (retaining 2.11 and 2.12), I'd welcome a PR for it.
from cloudformation-template-generator.
Thank you for the feedback. I did try cross compiling (wanted to submit a PR) and I noticed there were some features that were not available in 2.10. I understand your concern - and we have moved on with finding a temp solution. We'll revisit this lib when the time is right for us.
from cloudformation-template-generator.
Related Issues (20)
- Make `AWS::RDS::DBInstance`.AllocatedStorage optional
- Make `Fn::Equals` accept any Token type
- Make RuleCondition Values accept Option[Seq[Token[String]]]
- Error "target group ... does not have an associated load balancer"
- Feature request: Maven central HOT 2
- Add support for TreatMissingData parameter of AWS::CloudWatch::Alarm
- Feature request: Fn::Transform HOT 1
- Clean up `DependsOn` HOT 2
- Add support for EC2 Systems Manager (SSM) Resources HOT 1
- Add optional ResourceName parameter to ElasticBeanstalk OptionSetting
- Make AWS::AutoScaling::AutoScalingGroup DesiredCapacity optional HOT 1
- Add support for AWS::Batch::*
- Slow compile time suggestions? HOT 1
- Your license is BSD, right? HOT 1
- Nested function calls
- Add full support for latest AWS::Events::Rule HOT 1
- Add missing AWS::Lambda::Function parameters
- Make LogGroupName parameter of AWS::Logs::MetricFilter and AWS::Logs::SubscriptionFilter accept Token[String]
- TracingConfig Instantiation in 3.8.0 HOT 2
- Add IAM policy to existing role HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudformation-template-generator.