问题标签 [resolver]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
179 浏览

proxy - 有没有关于 Nginx 解析器模块的好文章或技巧?

我似乎找不到任何关于可以做什么的好教程ngx_resolver。例如,我试图找到动态更新proxy_passvhosts 文件中的指令的最佳方法。

0 投票
1 回答
871 浏览

spring - Avoiding javax.el.PropertyNotFoundException for resource bundle lookups in jsf 2.1 + spring 3

We have defined properties in several resource bundles, which are configured in the faces-config.xml

We then try to access a property which is not defined.

/>

If the property is not available a javax.el.PropertyNotFoundException is thrown and causes the faces servlet to render a blank page. From the documentation of the ResourceBundleELResolver this should not happen, as it does not throw this exception. I can see it is part of the resolvers of the DemuxCompositeELResolver.But it seems it is never called. Instead the MapELResolver (which is placed after the RBELResolver in the list of resolvers) is called and throws an exception. I can't really make something of that behaviour and debugging is tedious. There must be some way to get around this. A missing property can not break my whole page rendering process. Any ideas?

Note: This is an issue only with the javax.el library as provided with tomcat > 6 distributions

0 投票
0 回答
314 浏览

eclipse - 自动依赖解析器eclipse java代码

我目前正在尝试使用大量不同的 Java 系统(称为语料库)进行研究。但是,在我可以使用所有这些系统之前,我必须一个一个地构建它们。这非常耗时,所以我想知道是否有人知道一种能够构建的好方法,并在必要时解决所有尚未找到的依赖项。这些依赖关系可能发生在语料库中的系统之间或语料库中的系统与可由 Eclipse 加载的插件之间。

我一直在寻找这种功能的堆栈溢出,但是如果你搜索依赖解析器,你只会遇到未解决的依赖问题。

任何人都知道这样的程序/插件是否存在?或者任何聪明的想法来导入所有的java项目并构建它们?

提前致谢。

丹尼斯

0 投票
1 回答
659 浏览

json - ServiceStack 自定义合约解析器

是否可以为内置的 JsonSerializer 提供某种自定义合同解析器?

响应数据的格式如下:

我要设置的属性是:名称

问题是:我怎样才能将骆驼大小写反序列化为帕斯卡大小写?

希望你能帮帮我!

0 投票
2 回答
932 浏览

sql-server - 从 SQL-Server 2005 升级到 SQL-Server 2008 时如何更新冲突解决程序

我们最近从 SQL Server 2005 升级到 SQL Server 2008(R2、SP1)。此升级包括一些发布,其中所有表都使用基于“后来获胜”原则的默认冲突解决程序发布。它的智能名称是“Microsoft SQL Server DATETIME (Later Wins) Conflict Resolver”,对应的 dll 文件是 ssrmax.dll。

众所周知,一旦使用冲突解决程序发布表,以后使用该表的所有发布都必须使用相同的冲突解决程序。很公平,但是,当将以前发布的表添加到新发布中,并指定要用于该表的相同冲突解决程序时,我们会收到一条错误消息:

这是我们得到的错误:

通过尝试了解机器如何不将相同的冲突解决程序视为“相同的冲突解决程序”,我发现注册表中有两个具有相同名称、不同版本的冲突解决程序:

2005 版:

  • 文件 ssrmax.dll,
  • 版本 2005.90.4035.0,
  • cls_id D604B4B5-686B-4304-9613-C4F82B527B10

2008 版:

  • 文件 ssrmax.dll,
  • 版本 2009.100.2500.0,
  • cls_id 77209412-47CF-49AF-A347-DCF7EE481277

我检查了我们的 2008 服务器是否将第二个服务器视为“可用的自定义解析器”(我通过运行 sp_enumcustomresolvers 得到了这个)。问题是这两个参考都在注册表中可用,所以我猜旧出版物确实参考了 2005 版,而新出版物试图参考 2008 版,这确实与以前的不同。

所以问题是:我怎样才能让服务器只考虑这两个版本中的一个,并且(当然)不必删除并重新创建现有的出版物(这将使我们的生活在接下来的两周内变成地狱)。

0 投票
2 回答
3710 浏览

android - 关于getContentResolver()查询CallLog

我可以在 4.0.x 中获得所有列名,但在 4.0.x 下只能获得 _id。我的代码怎么了?提前谢谢!

上面的代码在 4.0.x 中运行良好,我猜数据库有一些差异?

@Anu,这是我的完整代码,如果发现有问题请告诉我:

0 投票
2 回答
5518 浏览

c - 使用resolv.h

我试图通过从 resolv.h 的 _res 结构中读取它来找出我的 DNS 服务器地址。根据 man 3 resolver 设置代码应该是。

然后我就读出我需要的任何东西。我的问题是试图编译这个我得到

铿锵声。

我究竟做错了什么?

0 投票
1 回答
190 浏览

gwt - 无法解析关系的 GWT Resolver 属性

我正在使用 JPA 进行持久性的 GXT 项目,但我面临双向关系持久性的问题。

我有这两个实体:

和 :

(我没有复制 getter 和 setter,但这些方法存在。)

对于 ActvReqProxy 的持久性,在我的 EditorPresenter 中基本上是这样完成的:

在我得到的响应中,响应 pplActvRight 已经为空,但是在 getModel() 中设置了 pplActvReqProxy。

在服务器端,我有一个服务,它调用我的 DAO 的以下方法:

当我尝试从我的编辑器中持久化 ActvReqProxy 时,使用 with("pplActvRight","people",actvType") 方法,我没有收到任何错误,但在我的数据库中,实体并没有完全持久化。我意味着在数据库中创建了一个新的 ActvReq 但字段 PPL_ACTV_RIGHT_ID 保持为空。(它适用于人和 actvTyp)

编辑:事实上我假设问题位于resolveDomainValue中的GWT Resolver上,它无法解析属性pplActvRight。就好像我的 EntityProxy 对象在服务器端不存在。

有任何想法吗?

0 投票
2 回答
984 浏览

tridion - 如何使用 Tridion Resolver 从发布中删除项目?

我正在尝试为克里斯描述的组件实现自定义解析器: http ://www.tridiondeveloper.com/the-story-of-sdl-tridion-2011-custom-resolver-and-the-allowwriteoperationsintemplates-属性

我想删除组件中使用的一些二进制文件(主要是 pdf)并阻止它们发布。我可以使用 item.GetListUsedItems 方法获取使用过的物品列表。如何删除它们?

使用:tridion 2009

0 投票
2 回答
851 浏览

playframework-2.0 - playframework 使用 nexus 服务器的凭据解析工件

我开始了一个新的游戏项目:xyz。我想添加对 customGroupId:customArtifactId:0.10 的依赖项,该依赖项托管在主机 nexus.xyz.com 上的 nexus 存储库中,但只能通过用户名和密码访问。

所以,我编辑了 xyz\project\Build.scala

然后我在xyz跑了。

我明白了

PS。我试图遵循这一点,但没有奏效:Play framework and sbt:passing credentials to a nexus passowrd protected repo